From d747ec1d7df4f063c32b644c2929260aa160d2cd Mon Sep 17 00:00:00 2001 From: Myned Date: Mon, 30 Sep 2024 16:41:18 -0500 Subject: [PATCH] nix: remove extraneous trusted user Signed-off-by: Myned --- configuration.nix | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/configuration.nix b/configuration.nix index 223e559..f378c1d 100644 --- a/configuration.nix +++ b/configuration.nix @@ -91,18 +91,14 @@ fallback = true; # Build from source if cache timeout reached log-lines = 1000; # Build failure log length min-free = 1024 * 1024 * 1024; # Trigger garbage collection at 1 GB space remaining + trusted-users = ["@wheel"]; # Binary caches warn-dirty = false; # Git tree is usually dirty + experimental-features = [ "nix-command" "flakes" ]; - # Binary caches - trusted-users = [ - "root" - "@wheel" - ]; - trusted-substituters = [ "https://anyrun.cachix.org" "https://attic.kennel.juneis.dog/conduwuit" @@ -131,6 +127,7 @@ # }; # API access tokens to increase rate limits + #!! Requires nix to be run as root for read access to agenix secrets # https://nix.dev/manual/nix/latest/command-ref/conf-file#conf-access-tokens # https://github.com/NixOS/nix/issues/6536#issuecomment-1254858889 # https://github.com/settings/tokens