Skip to content

Commit

Permalink
disable hibernation
Browse files Browse the repository at this point in the history
  • Loading branch information
orzklv committed Jun 30, 2024
1 parent bb04eb1 commit 31a9e95
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions nixos/kolyma-3/configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,14 @@
# Hostname of the system
networking.hostName = "Kolyma-3";

# Entirely disable hibernation
systemd.sleep.extraConfig = ''
AllowSuspend=no
AllowHibernation=no
AllowHybridSleep=no
AllowSuspendThenHibernate=no
'';

# Don't ask for password
security.sudo.wheelNeedsPassword = false;

Expand Down

0 comments on commit 31a9e95

Please sign in to comment.