flake/hosts/pek0/anti-feature.nix

26 lines
487 B
Nix
Raw Normal View History

{ lib, ... }:
{
2024-02-13 12:01:59 +08:00
nixpkgs.config = {
2024-09-22 00:21:30 +08:00
allowNonSource = true;
allowNonSourcePredicate =
pkg:
2024-09-22 00:21:30 +08:00
(lib.elem (lib.getName pkg) [
2024-02-13 12:01:59 +08:00
"cargo-bootstrap"
2024-09-06 19:51:22 +08:00
"go"
"minecraft-server"
2024-02-13 12:01:59 +08:00
"rustc-bootstrap"
"rustc-bootstrap-wrapper"
"sof-firmware"
2024-02-28 17:39:47 +08:00
"temurin-bin"
2024-09-22 00:21:30 +08:00
]);
2024-02-13 12:01:59 +08:00
allowUnfree = false;
allowUnfreePredicate =
pkg:
2024-07-21 18:09:21 +08:00
lib.elem (lib.getName pkg) [
"broadcom-sta"
"minecraft-server"
2024-02-13 12:01:59 +08:00
];
};
}