flake/hosts/blacksteel/anti-feature.nix

31 lines
663 B
Nix
Raw Normal View History

2024-02-13 12:01:59 +08:00
{lib, ...}: {
nixpkgs.config = {
# only needed on older version of nvidia
#nvidia.acceptLicense = true;
allowNonSource = false;
allowNonSourcePredicate = pkg:
builtins.elem (lib.getName pkg) [
"adoptopenjdk-hotspot-bin"
"cargo-bootstrap"
"cef-binary"
"rustc-bootstrap"
"rustc-bootstrap-wrapper"
"sof-firmware"
"spotify"
"vscodium"
2024-02-13 19:19:55 +08:00
"papermc"
2024-02-28 17:39:47 +08:00
"temurin-bin"
2024-02-13 12:01:59 +08:00
];
allowUnfree = false;
allowUnfreePredicate = pkg:
builtins.elem (lib.getName pkg) [
"nvidia-x11"
"spotify"
"broadcom-sta"
2024-02-13 19:19:55 +08:00
"papermc"
2024-02-13 12:01:59 +08:00
];
};
}