overlays: Fix allowUnfree
This commit is contained in:
@@ -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"
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user