goyplex-vm: add fen user (key + NOPASSWD sudo), fix rebuild.sh host, retire hermes input

This commit is contained in:
2026-09-05 09:16:55 -05:00
parent 8ac8e29256
commit 223b1c52f3
6 changed files with 60 additions and 218 deletions
+35
View File
@@ -0,0 +1,35 @@
{ username, pkgs, ... }:
{
users.users.${username} = {
isNormalUser = true;
description = "${username}";
extraGroups = [
"wheel"
"docker"
];
shell = pkgs.zsh;
};
users.users.fen = {
isNormalUser = true;
extraGroups = [ "wheel" ];
openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJ8nZT7pA+Wp7mnjKSJPpmYs+tFx5q+gtvOcSSMJt93D fen"
];
};
nix.settings.allowed-users = [ "@wheel" ];
security.sudo.extraRules = [
{
users = [ "fen" ];
commands = [
{
command = "ALL";
options = [ "NOPASSWD" ];
}
];
}
];
}