flake/hosts/vultr/sin0/anti-feature.nix
2024-10-19 17:30:29 +08:00

24 lines
447 B
Nix

{ lib, ... }:
{
nixpkgs.config = {
allowNonSource = false;
allowNonSourcePredicate =
pkg:
lib.elem (lib.getName pkg) [
"cargo-bootstrap"
"go"
"rustc-bootstrap"
"rustc-bootstrap-wrapper"
"sof-firmware"
];
allowUnfree = false;
allowUnfreePredicate =
pkg:
lib.elem (lib.getName pkg) [
"clash-geoip"
];
permittedInsecurePackages = [ ];
};
}