diff --git a/modules/hosts/t480/t480Configuration.nix b/modules/hosts/t480/t480Configuration.nix index 31a3e0f..39b4cee 100644 --- a/modules/hosts/t480/t480Configuration.nix +++ b/modules/hosts/t480/t480Configuration.nix @@ -7,9 +7,9 @@ networking = { hostName = "t480"; }; - services.logind = { - lidSwitch = "suspend"; - lidSwitchDocked = "ignore"; + services.logind.settings.Login = { + HandleLidSwitch = "suspend"; + HandleLidSwitchDocked = "ignore"; }; services.fwupd = { enable = true;