2024-08-25 15:02:35 +00:00
|
|
|
{ lib, ... }:
|
|
|
|
{
|
2024-07-23 16:14:27 +00:00
|
|
|
nixpkgs.config = {
|
|
|
|
allowAliases = false;
|
|
|
|
|
|
|
|
allowNonSource = false;
|
2024-08-25 15:02:35 +00:00
|
|
|
allowNonSourcePredicate =
|
|
|
|
pkg:
|
2024-07-23 16:14:27 +00:00
|
|
|
lib.elem (lib.getName pkg) [
|
|
|
|
"cargo-bootstrap"
|
|
|
|
"cef-binary"
|
|
|
|
"dart"
|
|
|
|
"rustc-bootstrap"
|
|
|
|
"rustc-bootstrap-wrapper"
|
|
|
|
"sof-firmware"
|
|
|
|
"temurin-bin"
|
|
|
|
];
|
|
|
|
|
|
|
|
allowUnfree = false;
|
2024-08-25 15:02:35 +00:00
|
|
|
allowUnfreePredicate =
|
|
|
|
pkg:
|
2024-07-23 16:14:27 +00:00
|
|
|
lib.elem (lib.getName pkg) [
|
|
|
|
"fcitx5-pinyin-minecraft"
|
|
|
|
"fcitx5-pinyin-moegirl"
|
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|