flake/hosts/dust/anti-feature.nix

28 lines
525 B
Nix
Raw Normal View History

{ lib, ... }:
{
2024-07-23 16:14:27 +00:00
nixpkgs.config = {
allowAliases = false;
allowNonSource = false;
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;
allowUnfreePredicate =
pkg:
2024-07-23 16:14:27 +00:00
lib.elem (lib.getName pkg) [
"fcitx5-pinyin-minecraft"
"fcitx5-pinyin-moegirl"
];
};
}