summary refs log tree commit diff
path: root/nixos/modules/system/boot/systemd.nix
diff options
context:
space:
mode:
authorProfpatsch <mail@profpatsch.de>2017-08-03 03:05:36 +0200
committerProfpatsch <mail@profpatsch.de>2017-08-03 03:07:05 +0200
commit5d62d8775c77237b9d0917ff935d594abf3cd8b7 (patch)
tree1b7c1b2fb3d416b65303808bb24862b0925aea9b /nixos/modules/system/boot/systemd.nix
parentf64fb1cc0a9b561f9565ef112a193506697a3f46 (diff)
downloadnixpkgs-5d62d8775c77237b9d0917ff935d594abf3cd8b7.tar
nixpkgs-5d62d8775c77237b9d0917ff935d594abf3cd8b7.tar.gz
nixpkgs-5d62d8775c77237b9d0917ff935d594abf3cd8b7.tar.bz2
nixpkgs-5d62d8775c77237b9d0917ff935d594abf3cd8b7.tar.lz
nixpkgs-5d62d8775c77237b9d0917ff935d594abf3cd8b7.tar.xz
nixpkgs-5d62d8775c77237b9d0917ff935d594abf3cd8b7.tar.zst
nixpkgs-5d62d8775c77237b9d0917ff935d594abf3cd8b7.zip
modules/systemd: improve logind.extraConfig example
Since we have a .handleLidSwitch option now, give an other example.
Diffstat (limited to 'nixos/modules/system/boot/systemd.nix')
-rw-r--r--nixos/modules/system/boot/systemd.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/system/boot/systemd.nix b/nixos/modules/system/boot/systemd.nix
index 46761fdc0e9..d12d0a06f44 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.