summaryrefslogtreecommitdiff
path: root/sif.nix
diff options
context:
space:
mode:
Diffstat (limited to 'sif.nix')
-rw-r--r--sif.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/sif.nix b/sif.nix
index 6f10ef51..774d75a1 100644
--- a/sif.nix
+++ b/sif.nix
@@ -66,7 +66,7 @@
66 vnstat.enable = true; 66 vnstat.enable = true;
67 67
68 logind.extraConfig = '' 68 logind.extraConfig = ''
69 HandleLidSwitch=hybrid-sleep 69 HandleLidSwitch=hibernate
70 LidSwitchIgnoreInhibited=no 70 LidSwitchIgnoreInhibited=no
71 ''; 71 '';
72 72
@@ -362,7 +362,7 @@
362 [ systemd coreutils ]; 362 [ systemd coreutils ];
363 363
364 script = '' 364 script = ''
365 exec systemd-inhibit --what=handle-lid-switch:sleep --why="AC is connected" --mode=block sleep infinity 365 exec systemd-inhibit --what=handle-lid-switch --why="AC is connected" --mode=block sleep infinity
366 ''; 366 '';
367 367
368 serviceConfig = { 368 serviceConfig = {