diff options
author | Azat Bahawi <azat@bahawi.net> | 2023-10-29 15:43:07 +0300 |
---|---|---|
committer | Azat Bahawi <azat@bahawi.net> | 2023-10-29 15:43:07 +0300 |
commit | 26125aac992416df8a3fd1f860aabcf6a37380ba (patch) | |
tree | 11ecb98248812a2b8392f3a879199835a55e9ee6 /modules/nixos/common | |
parent | 2023-10-25 (diff) |
2023-10-29
Diffstat (limited to 'modules/nixos/common')
-rw-r--r-- | modules/nixos/common/nix.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/nixos/common/nix.nix b/modules/nixos/common/nix.nix index c0061db..0caf265 100644 --- a/modules/nixos/common/nix.nix +++ b/modules/nixos/common/nix.nix @@ -14,6 +14,8 @@ in { }; config = { + nix.settings.trusted-users = ["@wheel"]; + nixpkgs.config.allowUnfreePredicate = p: elem (getName p) cfg.allowedUnfreePackages; system.stateVersion = with builtins; |