modules/nixos: refactor remote workers

This commit is contained in:
zowoq 2023-09-24 08:57:55 +10:00
parent 4293c51090
commit d446870b79
7 changed files with 40 additions and 56 deletions
modules/nixos

View file

@ -0,0 +1,13 @@
{
imports = [
../shared/remote-builder.nix
];
users.users.nix = {
isNormalUser = true;
group = "nix";
home = "/var/lib/nix";
createHome = true;
};
users.groups.nix = { };
}