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

@ -1,6 +1,7 @@
{
pkgs,
lib,
role,
...
}: {
programs.firefox = {
@ -9,7 +10,7 @@
};
programs.chromium = {
enable = pkgs.stdenv.isLinux;
enable = pkgs.stdenv.isLinux && role == "devel";
package = pkgs.ungoogled-chromium.override {
enableWideVine = true;
commandLineArgs = [

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 = {