nix: refactor modules pass 1

This commit is contained in:
Primrose 2025-04-01 21:35:06 +02:00
parent f91017271d
commit ec7246e524
Signed by: primrose
GPG key ID: 4E887A4CA9714ADA
18 changed files with 122 additions and 124 deletions

View file

@ -0,0 +1,11 @@
{
systemd.sleep.extraConfig = ''
HibernateDelaySec=1d
'';
services.logind = {
powerKey = "hibernate";
lidSwitch = "suspend-then-hibernate";
lidSwitchDocked = "ignore";
};
}