From af42bdc7a303055b41f84cd85b9ccf5a1de7e3ae Mon Sep 17 00:00:00 2001 From: aaron Date: Thu, 21 May 2026 11:14:55 +0200 Subject: [PATCH] feature(nix): add wheel and root to the list of trusted users --- modules/nixos/settings.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/nixos/settings.nix b/modules/nixos/settings.nix index cf3bfb3..7ef1993 100644 --- a/modules/nixos/settings.nix +++ b/modules/nixos/settings.nix @@ -31,6 +31,9 @@ options = "--delete-older-than 7d"; }; }; + + # add trusted users (able to modify the nix store) + nix.settings.trusted-users = [ "root" "@wheel" ]; # allow unfree packages (steam, protonvpn, discord, etc.) nixpkgs.config.allowUnfree = true;