Merge pull request #11136 from Jomik/patch-1

Add focus_password if defaultUser is set
This commit is contained in:
Eelco Dolstra 2015-11-19 13:51:01 +01:00
commit de2eae33b7

View file

@ -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}
'';