diff options
author | Robert Hensing <robert@roberthensing.nl> | 2022-02-05 22:37:26 +0100 |
---|---|---|
committer | Robert Hensing <robert@roberthensing.nl> | 2022-02-05 22:38:56 +0100 |
commit | e3cfad0b9e263947ca89196aed36f4ebc6f82406 (patch) | |
tree | ace38c45b46e6c54bf287a52608329df9bfd1aab /nixos/modules/config | |
parent | b6558a0aec6df60543a9fd2e88780e22bbd0c894 (diff) | |
download | nixpkgs-e3cfad0b9e263947ca89196aed36f4ebc6f82406.tar nixpkgs-e3cfad0b9e263947ca89196aed36f4ebc6f82406.tar.gz nixpkgs-e3cfad0b9e263947ca89196aed36f4ebc6f82406.tar.bz2 nixpkgs-e3cfad0b9e263947ca89196aed36f4ebc6f82406.tar.lz nixpkgs-e3cfad0b9e263947ca89196aed36f4ebc6f82406.tar.xz nixpkgs-e3cfad0b9e263947ca89196aed36f4ebc6f82406.tar.zst nixpkgs-e3cfad0b9e263947ca89196aed36f4ebc6f82406.zip |
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
Diffstat (limited to 'nixos/modules/config')
-rw-r--r-- | nixos/modules/config/users-groups.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/config/users-groups.nix b/nixos/modules/config/users-groups.nix index 23e1d39b594..b0f96c754fa 100644 --- a/nixos/modules/config/users-groups.nix +++ b/nixos/modules/config/users-groups.nix @@ -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. |