cachix-agent: set USER to please cachix

This commit is contained in:
Domen Kožar
2022-06-09 17:07:28 +01:00
parent dd11676604
commit f38fd46992
@@ -47,6 +47,7 @@ in {
wantedBy = [ "multi-user.target" ];
# don't restart while changing
reloadIfChanged = true;
environment.USER = "root";
serviceConfig = {
Restart = "on-failure";
EnvironmentFile = cfg.credentialsFile;