From 5d62d8775c77237b9d0917ff935d594abf3cd8b7 Mon Sep 17 00:00:00 2001 From: Profpatsch Date: Thu, 3 Aug 2017 03:05:36 +0200 Subject: [PATCH] modules/systemd: improve logind.extraConfig example Since we have a .handleLidSwitch option now, give an other example. --- nixos/modules/system/boot/systemd.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/system/boot/systemd.nix b/nixos/modules/system/boot/systemd.nix index 46761fdc0e92..d12d0a06f444 100644 --- a/nixos/modules/system/boot/systemd.nix +++ b/nixos/modules/system/boot/systemd.nix @@ -593,7 +593,7 @@ in services.logind.extraConfig = mkOption { default = ""; type = types.lines; - example = "HandleLidSwitch=ignore"; + example = "IdleAction=lock"; description = '' Extra config options for systemd-logind. See man logind.conf for available options.