Files
infra/users/n8n-worker.nix

12 lines
298 B
Nix
Raw Normal View History

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