update laptop config
This commit is contained in:
338 files changed
+45564
-122
No files matched your search
@@ -16,7 +16,7 @@
|
||||
serviceConfig = {
|
||||
Type = "simple";
|
||||
User = "root";
|
||||
ExecStart = "${pkgs.busybox}/bin/sh -c \"echo LID > /proc/acpi/wakeup\"";
|
||||
ExecStart = "${pkgs.busybox}/bin/sh -c \"if [ \\\"$(cat /proc/acpi/wakeup | grep 'LID' | grep 'enabled')\\\" != \\\"\\\" ]; then echo LID > /proc/acpi/wakeup; fi\"";
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user