chore: add n8n-worker user and update authentication configuration

This commit is contained in:
2026-01-01 02:25:34 -05:00
parent d92e1426ba
commit 71dfd04108
4 changed files with 14 additions and 3 deletions

View File

@@ -1,17 +1,18 @@
{ pkgs, inputs, config, keys, ... }: {
users.users.gortium = {
isNormalUser = true;
extraGroups = [ "wheel" "docker" ]; # Enable sudo for the user.
extraGroups = [ "wheel" "docker" "video" "render"];
packages = with pkgs; [
tree
btop
nh
];
shell = pkgs.zsh;
openssh.authorizedKeys.keys = [
keys.users.gortium.main
];
};
programs.zsh.enable = true;
security.sudo.extraRules = [
{
users = [ "gortium" ];

View File

@@ -9,3 +9,4 @@
];
};
users.groups.n8n-worker = {};
}