modules/systemd: improve logind.extraConfig example
Since we have a .handleLidSwitch option now, give an other example.
commit5d62d8775c77237b9d0917ff935d594abf3cd8b7
authorProfpatsch <mail@profpatsch.de>
dateThu 3 Aug 2017, 03:05 (9 years ago)
parentf64fb1c
nixos/modules/system/boot/systemd.nix+1−1
@@ -593,7 +593,7 @@ in
593593 services.logind.extraConfig = mkOption {
594594 default = "";
595595 type = types.lines;
596− example = "HandleLidSwitch=ignore";
596+ example = "IdleAction=lock";
597597 description = ''
598598 Extra config options for systemd-logind. See man logind.conf for
599599 available options.