Merge pull request #158281 from roberth/issue-158279

nixos/users: Fix type error
This commit is contained in:
Robert Hensing 2022-02-05 22:55:25 +01:00 committed by GitHub
commit 1e89b72333
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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.