diff options
| -rw-r--r-- | sif.nix | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -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 = { |
