diff options
| author | Franck Cuny <franck@fcuny.net> | 2026-01-24 11:03:00 -0800 |
|---|---|---|
| committer | Franck Cuny <franck@fcuny.net> | 2026-01-24 11:03:00 -0800 |
| commit | 3b26e1404698491591023063afc7d94b28978dbb (patch) | |
| tree | ed4c4f0e313ceb3f2590ebd82d26fe74902e8ce6 /profiles/users/root.nix | |
| parent | adding a new VM for testing (diff) | |
| download | infra-3b26e1404698491591023063afc7d94b28978dbb.tar.gz | |
ensure ssh keys for root are in the iso
Diffstat (limited to 'profiles/users/root.nix')
| -rw-r--r-- | profiles/users/root.nix | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/profiles/users/root.nix b/profiles/users/root.nix new file mode 100644 index 0000000..4d432a5 --- /dev/null +++ b/profiles/users/root.nix @@ -0,0 +1,8 @@ +{ adminUser, ... }: +{ + users.users.root.openssh.authorizedKeys.keys = with adminUser.userinfo.sshPublicKeys; [ + yubikey-personal-nano + yubikey-personal-keychain + yubikey-personal-backup + ]; +} |
