modules/nixos: refactor remote workers
This commit is contained in:
parent
4293c51090
commit
d446870b79
7 changed files with 40 additions and 56 deletions
modules/nixos
13
modules/nixos/remote-builder.nix
Normal file
13
modules/nixos/remote-builder.nix
Normal 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 = { };
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue