flake/hosts/blacksteel/anti-feature.nix
2024-08-02 06:17:30 +08:00

22 lines
494 B
Nix

{lib, ...}: {
nixpkgs.config = {
allowNonSource = false;
allowNonSourcePredicate = pkg:
lib.elem (lib.getName pkg) [
"adoptopenjdk-hotspot-bin"
"cargo-bootstrap"
"minecraft-server"
"rustc-bootstrap"
"rustc-bootstrap-wrapper"
"sof-firmware"
"temurin-bin"
];
allowUnfree = false;
allowUnfreePredicate = pkg:
lib.elem (lib.getName pkg) [
"broadcom-sta"
"minecraft-server"
];
};
}