From 4d4b30fc8f369249f8ef81bf4983e4920b9024b3 Mon Sep 17 00:00:00 2001 From: Michael Mandl Date: Fri, 7 Jul 2023 09:21:09 +0200 Subject: [PATCH] fix(nix-config): allow unfree packages in home-manager unstable overlay --- flake.nix | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/flake.nix b/flake.nix index b88987d..76485de 100644 --- a/flake.nix +++ b/flake.nix @@ -15,14 +15,13 @@ theme = "dark"; # dark or light nixpkgs-config = { - allowUnfree = true; - allowUnfreePredicate = (_: true); + allowUnfreePredicate = (pkg: true); }; overlay-unstable = final: prev: { unstable = import nixpkgs-unstable { system = "x86_64-linux"; - allowUnfree = true; + config.allowUnfreePredicate = (pkg: true); }; }; in