config/profiles/no-suspend.nix

7 lines
177 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;
}