flake/hosts/blacksteel/anti-feature.nix
Guanran Wang 340f42cf17
treewide: update
I honestly have no idea how to commit this pile of stuff one by one...
2024-05-24 01:52:24 +08:00

30 lines
681 B
Nix

{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"
"minecraft-server"
"rustc-bootstrap"
"rustc-bootstrap-wrapper"
"sof-firmware"
"spotify"
"temurin-bin"
"vscodium"
];
allowUnfree = false;
allowUnfreePredicate = pkg:
builtins.elem (lib.getName pkg) [
"broadcom-sta"
"minecraft-server"
"nvidia-x11"
"spotify"
];
};
}