diff options
author | Profpatsch <mail@profpatsch.de> | 2017-08-03 03:05:36 +0200 |
---|---|---|
committer | Profpatsch <mail@profpatsch.de> | 2017-08-03 03:07:05 +0200 |
commit | 5d62d8775c77237b9d0917ff935d594abf3cd8b7 (patch) | |
tree | 1b7c1b2fb3d416b65303808bb24862b0925aea9b /nixos/modules/system/boot/systemd.nix | |
parent | f64fb1cc0a9b561f9565ef112a193506697a3f46 (diff) | |
download | nixpkgs-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.nix | 2 |
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. |