summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorsils <sils@sils.li>2023-10-11 12:41:55 +0200
committersils <sils@sils.li>2023-10-11 12:41:55 +0200
commit52ae495f89ac232f689d2af04a7d88441bef0b4f (patch)
tree368f1c4e852ba69881cab6cc6dfc236159cd7f6f
parentchore(version): v0.13.0 (diff)
downloadnixos-server-52ae495f89ac232f689d2af04a7d88441bef0b4f.tar.gz
nixos-server-52ae495f89ac232f689d2af04a7d88441bef0b4f.zip
feat(system/services/nix): add wheel group to trusted-users
-rw-r--r--system/services/nix/default.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/system/services/nix/default.nix b/system/services/nix/default.nix
index bd562ec..ec5fe5d 100644
--- a/system/services/nix/default.nix
+++ b/system/services/nix/default.nix
@@ -13,6 +13,10 @@
     settings = {
       auto-optimise-store = true;
       experimental-features = ["nix-command" "flakes"];
+      trusted-users = [
+        "root"
+        "@wheel"
+      ];
     };
   };
 }