Add focus_password if defaultUser is set

Add 'focus_password yes' if defaultUser is set, to reflect the description of defaultUser.
This commit is contained in:
Jonas D 2015-11-18 23:49:39 +01:00
parent 54119cc48c
commit 5ffbc9755a

@ -18,6 +18,7 @@ let
halt_cmd ${config.systemd.package}/sbin/shutdown -h now
reboot_cmd ${config.systemd.package}/sbin/shutdown -r now
${optionalString (cfg.defaultUser != null) ("default_user " + cfg.defaultUser)}
${optionalString (cfg.defaultUser != null) ("focus_password yes")}
${optionalString cfg.autoLogin "auto_login yes"}
${cfg.extraConfig}
'';