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
# pretty tui tools
pkgs.du-dust
pkgs.dust
pkgs.tokei
pkgs.hyperfine
pkgs.watchexec

View file

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