diff --git a/machine-confs/lithium.nix b/machine-confs/lithium.nix index 43b41a5..5d2f79d 100644 --- a/machine-confs/lithium.nix +++ b/machine-confs/lithium.nix @@ -68,5 +68,5 @@ }; }; - logind.lidSwitch = if config.boot.resumeDevice != "" then "hibernate" else "suspend"; + services.logind.lidSwitch = if config.boot.resumeDevice != "" then "hibernate" else "suspend"; }