overlays: Fix allowUnfree

This commit is contained in:
2021-10-22 21:42:36 +02:00
parent 8aa0c19ba6
commit 2bdb6d7f76
2 changed files with 12 additions and 7 deletions

View File

@@ -1,5 +1,7 @@
# NOTE: pkgs is unused but there for consistency with nur.nix
pkgs: final: prev:
{
lib, ...
}: final: prev:
let
unstableTarball =
@@ -8,10 +10,12 @@ let
in {
unstable = import unstableTarball {
# TODO
#allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
# "firmwareLinuxNonfree" "microcodeAmd" "microcodeIntel"
# "steam" "steam-original" "steam-runtime"
# "discord"
#];
config = {
allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
"firmwareLinuxNonfree" "microcodeAmd" "microcodeIntel"
"steam" "steam-original" "steam-runtime"
"discord"
];
};
};
}