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.
This commit is contained in:
Pierre Bourdon 2024-07-17 13:20:37 +02:00
parent b0e9b4b2f9
commit d33fc08341
Signed by untrusted user: delroth
GPG key ID: 6FB80DCD84DA0F1C

View file

@ -229,7 +229,7 @@ in
}; };
nix.settings = { nix.settings = {
trusted-users = [ "hydra-queue-runner" ]; extra-trusted-users = [ "hydra" "hydra-queue-runner" "hydra-www" ];
gc-keep-outputs = true; gc-keep-outputs = true;
gc-keep-derivations = true; gc-keep-derivations = true;
}; };