about summary refs log tree commit diff
path: root/nixos/modules/system
diff options
context:
space:
mode:
authorMateusz Gołębiewski <mateusz@golebiewski.me>2019-02-18 20:21:04 +0100
committerMateusz Gołębiewski <mateusz@golebiewski.me>2019-02-18 20:37:02 +0100
commitddcf4853866fdce7709a60fa4afa7c5ac41984ec (patch)
treed60b275d6dfaab7fb91f6a0faebeda3e49e25f2e /nixos/modules/system
parentfb9619ca03f4057c8a03daa131bd8ba8fa5a48cb (diff)
downloadnixlib-ddcf4853866fdce7709a60fa4afa7c5ac41984ec.tar
nixlib-ddcf4853866fdce7709a60fa4afa7c5ac41984ec.tar.gz
nixlib-ddcf4853866fdce7709a60fa4afa7c5ac41984ec.tar.bz2
nixlib-ddcf4853866fdce7709a60fa4afa7c5ac41984ec.tar.lz
nixlib-ddcf4853866fdce7709a60fa4afa7c5ac41984ec.tar.xz
nixlib-ddcf4853866fdce7709a60fa4afa7c5ac41984ec.tar.zst
nixlib-ddcf4853866fdce7709a60fa4afa7c5ac41984ec.zip
nixos/logind: Add defaultText to config option since it's not static value.
Diffstat (limited to 'nixos/modules/system')
-rw-r--r--nixos/modules/system/boot/systemd.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/nixos/modules/system/boot/systemd.nix b/nixos/modules/system/boot/systemd.nix
index 9fdef0251d70..6fd8ff443101 100644
--- a/nixos/modules/system/boot/systemd.nix
+++ b/nixos/modules/system/boot/systemd.nix
@@ -593,7 +593,7 @@ in
 
     services.journald.forwardToSyslog = mkOption {
       default = config.services.rsyslogd.enable || config.services.syslog-ng.enable;
-      defaultText = "config.services.rsyslogd.enable || config.services.syslog-ng.enable";
+      defaultText = "services.rsyslogd.enable || services.syslog-ng.enable";
       type = types.bool;
       description = ''
         Whether to forward log messages to syslog.
@@ -652,6 +652,7 @@ in
 
     services.logind.lidSwitchExternalPower = mkOption {
       default = config.services.logind.lidSwitch;
+      defaultText = "services.logind.lidSwitch";
       example = "ignore";
       type = logindHandlerType;