flake/hosts/tyo0/anti-feature.nix

25 lines
479 B
Nix
Raw Normal View History

{ lib, ... }:
{
2024-04-22 18:35:50 +00:00
nixpkgs.config = {
allowNonSource = false;
allowNonSourcePredicate =
pkg:
2024-07-21 10:09:21 +00:00
lib.elem (lib.getName pkg) [
2024-04-22 18:35:50 +00:00
"cargo-bootstrap"
2024-09-06 11:51:22 +00:00
"go"
"keycloak"
2024-04-22 18:35:50 +00:00
"rustc-bootstrap"
"rustc-bootstrap-wrapper"
"temurin-bin"
2024-04-22 18:35:50 +00:00
];
allowUnfree = false;
2024-09-20 17:38:01 +00:00
allowUnfreePredicate = pkg: lib.elem (lib.getName pkg) [ ];
2024-08-22 10:20:23 +00:00
permittedInsecurePackages = [
2024-09-21 16:21:30 +00:00
"cinny-4.2.1"
"cinny-unwrapped-4.2.1"
2024-08-22 10:20:23 +00:00
];
2024-04-22 18:35:50 +00:00
};
}