24 lines
447 B
Nix
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 = [ ];
|
|
};
|
|
}
|