flake/hosts/tyo0/anti-feature.nix
2024-09-06 19:51:22 +08:00

29 lines
542 B
Nix

{ lib, ... }:
{
nixpkgs.config = {
allowNonSource = false;
allowNonSourcePredicate =
pkg:
lib.elem (lib.getName pkg) [
"adoptopenjdk-hotspot-bin"
"cargo-bootstrap"
"go"
"keycloak"
"rustc-bootstrap"
"rustc-bootstrap-wrapper"
"temurin-bin"
];
allowUnfree = false;
allowUnfreePredicate =
pkg:
lib.elem (lib.getName pkg)
[
];
permittedInsecurePackages = [
"cinny-4.1.0"
"cinny-unwrapped-4.1.0"
];
};
}