fixed openssh keys, trying out roles

This commit is contained in:
2025-06-24 18:54:44 -04:00
parent db244dc7ea
commit a7d2db9c84
2 changed files with 8 additions and 2 deletions

View File

@ -102,7 +102,12 @@
};
# Add username to groups "wheel" and "video" - more may be added here later
users.users.${userName}.extraGroups = ["wheel" "podman" "network"];
users.users.${userName} = {
extraGroups = ["wheel" "podman" "network"];
openssh.authorizedKeys.keys = ''
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFV9eSc9L+aJLoKoexq2f/jb5rpyZnhuGiyhS8YQAbaS wyatt@wyattjmiller.com
'';
};
# Add Home Assistant service
services.home-assistant = {