diff --git a/system/hardware/power.nix b/system/hardware/power.nix index 114c9dc..5da484d 100644 --- a/system/hardware/power.nix +++ b/system/hardware/power.nix @@ -7,8 +7,8 @@ inherit (config) niksos; cfg = niksos.hardware.portable; in { - config = { - services = lib.mkIf cfg.enable { + config = lib.mkIf cfg.enable { + services = { logind = { powerKey = "suspend-then-hibernate"; powerKeyLongPress = "poweroff";