(orexin) fix sleep mode

This commit is contained in:
ArgentumCation 2024-07-31 22:28:22 -04:00
parent 4b525e5d36
commit 72e403c819

View file

@ -104,7 +104,10 @@ services.logind.lidSwitch = "ignore";
# networking.firewall.allowedUDPPorts = [ ... ];
# Or disable the firewall altogether.
# networking.firewall.enable = false;
systemd.targets.sleep.enable = false;
systemd.targets.suspend.enable = false;
systemd.targets.hibernate.enable = false;
systemd.targets.hybrid-sleep.enable = false;
# Copy the NixOS configuration file and link it from the resulting system
# (/run/current-system/configuration.nix). This is useful in case you
# accidentally delete configuration.nix.