added programmatic dynamic generation of user defined keys

This commit is contained in:
Bryan Ramos 2024-05-15 11:02:29 -04:00 committed by Bryan Ramos
parent 18a94b74fb
commit 6ccfd709d0
Signed by: bryan
GPG key ID: 6ABDCD144D6643C8
10 changed files with 41 additions and 20 deletions

View file

@ -7,7 +7,7 @@
${config.user.name} = {
isNormalUser = true;
extraGroups = config.user.groups;
openssh.authorizedKeys.keys = config.user.sshKeys.key1;
openssh.authorizedKeys.keys = [ "${config.user.keys.ssh.primary}" ];
};
};
boot.isContainer = true;