2024-02-13 04:01:59 +00: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 11:19:55 +00:00
|
|
|
"papermc"
|
2024-02-13 04:01:59 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
allowUnfree = false;
|
|
|
|
allowUnfreePredicate = pkg:
|
|
|
|
builtins.elem (lib.getName pkg) [
|
|
|
|
"nvidia-x11"
|
|
|
|
"spotify"
|
|
|
|
"broadcom-sta"
|
2024-02-13 11:19:55 +00:00
|
|
|
"papermc"
|
2024-02-13 04:01:59 +00:00
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|