fix user public keys

This commit is contained in:
Dennis Wuitz
2023-12-25 18:54:38 +01:00
parent dd4466b5a3
commit 7fcf8af4ad
7 changed files with 26 additions and 23 deletions

View File

@ -3,14 +3,13 @@
config,
pkgs,
name,
pubKeys ? [],
publicKeys ? [],
defaultShell ? "zsh",
}:
{
inherit name;
isNormalUser = true;
uid = 1000;
extraGroups = [
"wheel"
"media"
@ -24,5 +23,5 @@
"uaccess"
];
shell = pkgs.${defaultShell};
openssh.authorizedKeys.keys = pubKeys;
openssh.authorizedKeys.keys = publicKeys;
}