iron: update to match 25.11

This commit is contained in:
Primrose 2025-12-09 00:00:02 +08:00
parent 9627e74f1d
commit a320cba909
Signed by: primrose
GPG key ID: 4E887A4CA9714ADA
2 changed files with 5 additions and 9 deletions

View file

@ -32,7 +32,7 @@
pkgs.nix-which pkgs.nix-which
# pretty tui tools # pretty tui tools
pkgs.du-dust pkgs.dust
pkgs.tokei pkgs.tokei
pkgs.hyperfine pkgs.hyperfine
pkgs.watchexec pkgs.watchexec

View file

@ -1,11 +1,7 @@
{ {
systemd.sleep.extraConfig = '' services.logind.settings = {
HibernateDelaySec=1d # It's a server :sparkles:
''; Login.HandleLidSwitch = "ignore";
Login.HandleLidSwitchDocked = "ignore";
services.logind = {
powerKey = "hibernate";
lidSwitch = "suspend-then-hibernate"; # won't happen there's no battery anyway
lidSwitchDocked = "ignore";
}; };
} }