flake/hosts/aristotle/anti-feature.nix
2024-07-20 17:04:40 +08:00

33 lines
737 B
Nix

{lib, ...}: {
nixpkgs.config = {
allowAliases = false;
allowNonSource = false;
allowNonSourcePredicate = pkg:
builtins.elem (lib.getName pkg) [
"adoptopenjdk-hotspot-bin"
"cargo-bootstrap"
"cef-binary"
"dart"
"osu-lazer-bin"
"rustc-bootstrap"
"rustc-bootstrap-wrapper"
"sof-firmware"
"temurin-bin"
];
allowUnfree = false;
allowUnfreePredicate = pkg:
builtins.elem (lib.getName pkg) [
"fcitx5-pinyin-minecraft"
"fcitx5-pinyin-moegirl"
"libXNVCtrl"
"nvidia-x11"
"osu-lazer-bin"
"steam"
"steam-original"
"steam-run"
"xow_dongle-firmware"
];
};
}