diff --git a/system/default.nix b/system/default.nix index a236d19..0d5096b 100644 --- a/system/default.nix +++ b/system/default.nix @@ -23,6 +23,7 @@ let ./services/power.nix ./services/brightness.nix ./services/keyd.nix + ./services/logind.nix ]; in { inherit desktop laptop; diff --git a/system/services/logind.nix b/system/services/logind.nix new file mode 100644 index 0000000..d7b9b86 --- /dev/null +++ b/system/services/logind.nix @@ -0,0 +1,5 @@ +{ + services.logind = { + lidSwitch = "suspend"; + }; +}