Compare commits

..

No commits in common. "ffa9bd8c079e89638d467448fc9d6c8a2b9beb45" and "02f45f544a68313882fa56bd5ef08b33a6331fb0" have entirely different histories.

2 changed files with 1 additions and 9 deletions

View File

@ -106,7 +106,7 @@ in
"hyprland.start"
(lib.generators.mkLuaInline ''
function()
${if isLaptop then "hl.exec_cmd(\"${uwsm} swaybg -c 000000 -o '*'\")" else ""}
hl.exec_cmd("${uwsm} swaybg -c 000000 -o '*'")
${builtins.concatStringsSep "\n " (builtins.map (cmd:
"hl.exec_cmd(\"${if isLaptop then "[ \"$(busctl get-property org.freedesktop.UPower /org/freedesktop/UPower org.freedesktop.UPower OnBattery | awk '{print $2}')\" = \"true\" ] && " else ""}"
+ "${uwsm} ${cmd}\")") backgrounds_commands)

View File

@ -19,13 +19,5 @@
services.upower.enable = true;
# Thunderbolt automatic authorization etc
services.udev.extraRules = ''
ACTION=="add", SUBSYSTEM=="thunderbolt", ATTR{authorized}=="0", ATTR{authorized}="1"
'';
# NVIDIA drivers
services.xserver.videoDrivers = [ "nvidia" ];
networking.hostName = "lizard-portable";
}