From d33fc08341e588263f8677d95478664aba801637 Mon Sep 17 00:00:00 2001 From: Pierre Bourdon Date: Wed, 17 Jul 2024 13:20:37 +0200 Subject: [PATCH] nixos-module: fix trusted users - Use extra-trusted-users to avoid overriding the default set of trusted users and causing permission issues. - Add hydra and hydra-www users which also need permissions. --- nixos-modules/hydra.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos-modules/hydra.nix b/nixos-modules/hydra.nix index 7a0486c1..99694286 100644 --- a/nixos-modules/hydra.nix +++ b/nixos-modules/hydra.nix @@ -229,7 +229,7 @@ in }; nix.settings = { - trusted-users = [ "hydra-queue-runner" ]; + extra-trusted-users = [ "hydra" "hydra-queue-runner" "hydra-www" ]; gc-keep-outputs = true; gc-keep-derivations = true; };