12 lines
298 B
Nix
12 lines
298 B
Nix
|
|
{ pkgs, inputs, config, keys, ... }: {
|
||
|
|
users.users.n8n-worker = {
|
||
|
|
isSystemUser = true;
|
||
|
|
group = "n8n-worker";
|
||
|
|
extraGroups = [ "docker" ];
|
||
|
|
shell = pkgs.bashInteractive;
|
||
|
|
openssh.authorizedKeys.keys = [
|
||
|
|
keys.users.n8n-worker.main
|
||
|
|
];
|
||
|
|
};
|
||
|
|
users.groups.n8n-worker = {};
|