From d53ef7e4c4b61d04af82d14cd72fff31c7c22053 Mon Sep 17 00:00:00 2001 From: ItsDrike Date: Thu, 21 Mar 2024 23:30:05 +0100 Subject: [PATCH] Specify trusted nix users --- system/nix/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/system/nix/default.nix b/system/nix/default.nix index f57603c..b1b2e9a 100644 --- a/system/nix/default.nix +++ b/system/nix/default.nix @@ -19,6 +19,10 @@ # Keep all dependencies used to build keep-outputs = true; keep-derivations = true; + + # Give these users/groups additional rights when connecting to the Nix daemon + # like specifying extra binary caches + trusted-users = [ "root" "@wheel" ]; }; # Enable automatic garbage collection, deleting entries older than 14 days