flake/hosts/lightsail-tokyo/anti-feature.nix

20 lines
413 B
Nix
Raw Normal View History

2024-04-22 18:35:50 +00:00
{lib, ...}: {
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
"adoptopenjdk-hotspot-bin"
"cargo-bootstrap"
"rustc-bootstrap"
"rustc-bootstrap-wrapper"
"keycloak"
"temurin-bin"
2024-04-22 18:35:50 +00:00
];
allowUnfree = false;
allowUnfreePredicate = pkg:
2024-07-21 10:09:21 +00:00
lib.elem (lib.getName pkg) [
2024-04-22 18:35:50 +00:00
];
};
}