nix-serve: run process with hydra user.
This commit is contained in:
parent
e3a4cfcab8
commit
3791e05369
1 changed files with 1 additions and 0 deletions
|
@ -62,5 +62,6 @@ in mkIf (elem "hydra" config.machine.services) {
|
|||
'';
|
||||
};
|
||||
};
|
||||
systemd.services.nix-serve.serviceConfig.User = mkForce "hydra";
|
||||
systemd.services.nix-serve.environment.NIX_STORE_DIR = cacheDir;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue