diff options
author | Azat Bahawi <azat@bahawi.net> | 2023-09-16 14:47:29 +0300 |
---|---|---|
committer | Azat Bahawi <azat@bahawi.net> | 2023-09-16 14:47:29 +0300 |
commit | 190bf349658ceb6f64c6d69cdccbddfb5491f894 (patch) | |
tree | 33a563624d4725cc042f7dc2f805078e8f34818e /modules/nixos/common | |
parent | 2023-09-16 (diff) |
2023-09-16
Diffstat (limited to 'modules/nixos/common')
-rw-r--r-- | modules/nixos/common/nix.nix | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/modules/nixos/common/nix.nix b/modules/nixos/common/nix.nix index 9978513..c0061db 100644 --- a/modules/nixos/common/nix.nix +++ b/modules/nixos/common/nix.nix @@ -14,15 +14,7 @@ in { }; config = { - nixpkgs = { - config.allowUnfreePredicate = p: elem (getName p) cfg.allowedUnfreePackages; - - overlays = with inputs; [ - nix-minecraft.overlay - pollymc.overlays.default - xmonad-ng.overlays.default - ]; - }; + nixpkgs.config.allowUnfreePredicate = p: elem (getName p) cfg.allowedUnfreePackages; system.stateVersion = with builtins; head (split "\n" (readFile "${inputs.nixpkgs}/.version")); |