this repo has no description
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

avarna: disable hibernation for now

Aria 58bc15d4 26256f3c

+3 -8
+2 -7
nix/hosts/avarna.nix
··· 93 93 }; 94 94 services.fstrim.enable = true; 95 95 boot.zfs.forceImportRoot = mkForce false; 96 - boot.zfs.allowHibernation = true; # Swap isn't on ZFS, so it's fine 97 96 disko.devices.disk.root = { 98 97 device = "/dev/nvme0n1"; 99 98 type = "disk"; ··· 167 166 } 168 167 ''; 169 168 170 - # Suspend usually, then hibernate after a period 171 - services.logind.settings.Login.LidSwitch = "suspend-then-hibernate"; 172 - services.logind.settings.Login.PowerKey = "hibernate"; 169 + services.logind.settings.Login.LidSwitch = "sleep"; 170 + services.logind.settings.Login.PowerKey = "sleep"; 173 171 services.logind.settings.Login.PowerKeyLongPress = "poweroff"; 174 - 175 - # Define time delay for hibernation 176 - systemd.sleep.settings.Sleep.HibernateDelaySec = "10m"; 177 172 }
+1 -1
nix/modules/services/ariade/lock/hypridle_config.nix
··· 17 17 } 18 18 { 19 19 timeout = 600; 20 - on-timeout = "systemctl suspend-then-hibernate"; 20 + on-timeout = "systemctl sleep"; 21 21 } 22 22 ]; 23 23 }