fix: properly structure uConsole config (ai-worker, gortium password, age secret)
This commit is contained in:
@@ -20,6 +20,23 @@
|
||||
users.ai-worker.main
|
||||
];
|
||||
|
||||
# AI worker user (Hermes SSH access)
|
||||
users.users.ai-worker = {
|
||||
isNormalUser = false;
|
||||
shell = pkgs.bash;
|
||||
openssh.authorizedKeys.keys = with keys; [
|
||||
users.ai-worker.main
|
||||
];
|
||||
};
|
||||
|
||||
# Age secret for gortium password (file created by user)
|
||||
age.secrets.gortium_password = {
|
||||
file = ../secrets/gortium_password.age;
|
||||
};
|
||||
|
||||
# Password file for gortium (merges with users/gortium/default.nix)
|
||||
users.users.gortium.hashedPasswordFile = config.age.secrets.gortium_password.path;
|
||||
|
||||
# WiFi via NetworkManager + secret agenix
|
||||
networking.networkmanager.enable = true;
|
||||
|
||||
@@ -31,22 +48,4 @@
|
||||
enable = true;
|
||||
xwayland.enable = true;
|
||||
};
|
||||
|
||||
|
||||
}
|
||||
|
||||
# AI worker user (Hermes access)
|
||||
users.users.ai-worker = {
|
||||
isNormalUser = false;
|
||||
shell = pkgs.bash;
|
||||
openssh.authorizedKeys.keys = with keys; [
|
||||
users.ai-worker.main
|
||||
];
|
||||
};
|
||||
|
||||
# Age secret for gortium password
|
||||
age.secrets.gortium_password = {
|
||||
file = ../secrets/gortium_password.age;
|
||||
};
|
||||
|
||||
users.users.gortium.hashedPasswordFile = config.age.secrets.gortium_password.path;
|
||||
|
||||
Reference in New Issue
Block a user