flake/hosts/pek0/anti-feature.nix
2024-09-16 01:20:38 +08:00

25 lines
486 B
Nix

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