forked from mirrors/nixpkgs
Merge pull request #11136 from Jomik/patch-1
Add focus_password if defaultUser is set
This commit is contained in:
commit
de2eae33b7
|
@ -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}
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue