about summary refs log tree commit diff
path: root/modules/nixos/common/nix.nix
diff options
context:
space:
mode:
authorAzat Bahawi <azat@bahawi.net>2023-09-16 14:47:29 +0300
committerAzat Bahawi <azat@bahawi.net>2023-09-16 14:47:29 +0300
commit190bf349658ceb6f64c6d69cdccbddfb5491f894 (patch)
tree33a563624d4725cc042f7dc2f805078e8f34818e /modules/nixos/common/nix.nix
parent2023-09-16 (diff)
2023-09-16
Diffstat (limited to '')
-rw-r--r--modules/nixos/common/nix.nix10
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"));

Consider giving Nix/NixOS a try! <3