diff --git a/orexin/configuration.nix b/orexin/configuration.nix index 848a176..cbbcb25 100644 --- a/orexin/configuration.nix +++ b/orexin/configuration.nix @@ -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.