Skip to content

Commit

Permalink
modules/systemd: improve logind.extraConfig example
Browse files Browse the repository at this point in the history
Since we have a .handleLidSwitch option now, give an other example.
  • Loading branch information
Profpatsch committed Aug 3, 2017
1 parent f64fb1c commit 5d62d87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nixos/modules/system/boot/systemd.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 5d62d87

Please sign in to comment.