1
0
Fork 0

nix-serve: run process with hydra user.

This commit is contained in:
Kevin Baensch 2019-12-27 12:28:27 +01:00
parent e3a4cfcab8
commit 3791e05369
Signed by: derped
GPG Key ID: C0F1D326C7626543
1 changed files with 1 additions and 0 deletions

View File

@ -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;
}