mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 07:23:20 +00:00
nixos/users: Fix type error
Fixes what seems to be a programming error that went undetected by me and @pasqui23 See https://github.com/NixOS/nixpkgs/issues/158279
This commit is contained in:
parent
b6558a0aec
commit
e3cfad0b9e
@ -635,9 +635,9 @@ in {
|
||||
|| cfg.passwordFile != null
|
||||
|| cfg.openssh.authorizedKeys.keys != []
|
||||
|| cfg.openssh.authorizedKeys.keyFiles != [])
|
||||
) cfg.users) ++ [
|
||||
) cfg.users ++ [
|
||||
config.security.googleOsLogin.enable
|
||||
];
|
||||
]);
|
||||
message = ''
|
||||
Neither the root account nor any wheel user has a password or SSH authorized key.
|
||||
You must set one to prevent being locked out of your system.
|
||||
|
Loading…
Reference in New Issue
Block a user