server/home/hydra: add queue runner to nix allowed users

This commit is contained in:
chayleaf 2023-07-28 22:18:32 +07:00
parent 50279b7c0f
commit 4d19f773df

View file

@ -81,7 +81,7 @@ in {
bindAddress = "127.0.0.1"; bindAddress = "127.0.0.1";
secretKeyFile = "/secrets/cache-priv-key.pem"; secretKeyFile = "/secrets/cache-priv-key.pem";
}; };
nix.settings.allowed-users = [ "nix-serve" "hydra" ]; nix.settings.allowed-users = [ "nix-serve" "hydra" "hydra-queue-runner" ];
# only hydra has access to this file anyway # only hydra has access to this file anyway
nix.settings.extra-builtins-file = "/etc/nixos/private/extra-builtins.nix"; nix.settings.extra-builtins-file = "/etc/nixos/private/extra-builtins.nix";
impermanence.directories = [ impermanence.directories = [