modules/systemd: improve logind.extraConfig example

Since we have a .handleLidSwitch option now, give an other example.

Changed files
+1 -1
nixos
modules
system
+1 -1
nixos/modules/system/boot/systemd.nix
···
services.logind.extraConfig = mkOption {
default = "";
type = types.lines;
-
example = "HandleLidSwitch=ignore";
description = ''
Extra config options for systemd-logind. See man logind.conf for
available options.
···
services.logind.extraConfig = mkOption {
default = "";
type = types.lines;
+
example = "IdleAction=lock";
description = ''
Extra config options for systemd-logind. See man logind.conf for
available options.