From f38fd4699273f0182cf6bc97a231877d0036959e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Domen=20Ko=C5=BEar?= Date: Thu, 9 Jun 2022 17:07:28 +0100 Subject: [PATCH] cachix-agent: set USER to please cachix --- nixos/modules/services/system/cachix-agent/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nixos/modules/services/system/cachix-agent/default.nix b/nixos/modules/services/system/cachix-agent/default.nix index 496e0b90355..f11d80d244d 100644 --- a/nixos/modules/services/system/cachix-agent/default.nix +++ b/nixos/modules/services/system/cachix-agent/default.nix @@ -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;