{ ... }: { services.logind.settings.Login = { HandleLidSwitch = "suspend"; HandlePowerKey = "ignore"; }; }