config/profiles/no-suspend.nix

9 lines
236 B
Nix
Raw Normal View History

2023-07-02 09:19:35 +02:00
{
systemd.targets.sleep.enable = false;
systemd.targets.suspend.enable = false;
systemd.targets.hibernate.enable = false;
systemd.targets.hybrid-sleep.enable = false;
2023-07-04 16:32:09 +02:00
services.xserver.displayManager.gdm.autoSuspend = true;
2023-07-02 09:19:35 +02:00
}