fix(nix-config): allow unfree packages in home-manager unstable overlay

main
mandlm 2023-07-07 09:21:09 +02:00
parent 0141de5795
commit 4d4b30fc8f
Signed by: mandlm
GPG Key ID: 4AA25D647AA54CC7
1 changed files with 2 additions and 3 deletions

View File

@ -15,14 +15,13 @@
theme = "dark"; # dark or light theme = "dark"; # dark or light
nixpkgs-config = { nixpkgs-config = {
allowUnfree = true; allowUnfreePredicate = (pkg: true);
allowUnfreePredicate = (_: true);
}; };
overlay-unstable = final: prev: { overlay-unstable = final: prev: {
unstable = import nixpkgs-unstable { unstable = import nixpkgs-unstable {
system = "x86_64-linux"; system = "x86_64-linux";
allowUnfree = true; config.allowUnfreePredicate = (pkg: true);
}; };
}; };
in in