profiles/desktop: Migrate logind option rename
This commit is contained in:
@@ -8,7 +8,7 @@ with lib;
|
||||
|
||||
boot.resumeDevice = lib.optionalString ((lib.length config.swapDevices) > 0) (lib.head config.swapDevices).device;
|
||||
services.logind = {
|
||||
lidSwitch = "suspend-then-hibernate";
|
||||
settings.Login.HandleLidSwitch = "suspend-then-hibernate";
|
||||
};
|
||||
systemd.sleep.extraConfig = ''
|
||||
HibernateDelaySec=30m
|
||||
|
||||
Reference in New Issue
Block a user