Disable suspend

This commit is contained in:
Isshi0417 2024-07-23 22:22:51 +09:00
parent d60ffa8dc2
commit 755a7691c3

View File

@ -47,6 +47,14 @@
};
};
# Configure suspend behavior
systemd.sleep.extraConfig = ''
AllowSuspend=no
AllowHybernation=no
AllowHybridSleep=no
AllowSuspendThenHibernate=no
'';
networking.hostName = "alienware"; # Define your hostname.
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.