From 511990314cf51095ee8de74b49f9bc12bf316e58 Mon Sep 17 00:00:00 2001 From: Mohammad Rafiq Date: Mon, 19 May 2025 18:35:58 +0800 Subject: [PATCH] feat(modules/nixos/system): add @wheel to trusted users for nix --- modules/nixos/system/nix-config.nix | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/modules/nixos/system/nix-config.nix b/modules/nixos/system/nix-config.nix index e2ff46b..d0742b8 100644 --- a/modules/nixos/system/nix-config.nix +++ b/modules/nixos/system/nix-config.nix @@ -1,6 +1,16 @@ { config, lib, ... }: { config = { - nix.settings.experimental-features = ["nix-command" "flakes"]; + nixpkgs.config.allowUnfree = true; + + nix.settings = { + experimental-features = [ + "nix-command" + "flakes" + "pipe-operators" + ]; + + trusted-users = [ "@wheel" ]; + }; }; }