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

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; systemd.services.nix-serve.environment.NIX_STORE_DIR = cacheDir;
} }