vanadium: move out unfree-predicate from common

This commit is contained in:
Primrose 2025-04-03 21:26:30 +02:00
parent 206568caa5
commit 374e47ffbf
Signed by: primrose
GPG key ID: 4E887A4CA9714ADA
3 changed files with 1 additions and 5 deletions

View file

@ -1,25 +0,0 @@
{lib, ...}: {
nixpkgs.config.allowUnfreePredicate = lib.mkDefault (
pkg: let
name = lib.getName pkg;
in
builtins.elem name [
"languagetool"
"vscode"
"code"
"tampermonkey"
# MacBook 8,2
"b43-firmware"
"broadcom-sta"
]
|| builtins.any (lib.flip lib.hasInfix name) [
# Scanner
"brscan5"
"steam"
]
);
}