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:
|
2024-07-21 10:09:21 +00:00
|
|
|
lib.elem (lib.getName pkg) [
|
2024-02-13 04:01:59 +00:00
|
|
|
"adoptopenjdk-hotspot-bin"
|
|
|
|
"cargo-bootstrap"
|
2024-05-23 16:15:10 +00:00
|
|
|
"minecraft-server"
|
2024-02-13 04:01:59 +00:00
|
|
|
"rustc-bootstrap"
|
|
|
|
"rustc-bootstrap-wrapper"
|
|
|
|
"sof-firmware"
|
2024-02-28 09:39:47 +00:00
|
|
|
"temurin-bin"
|
2024-02-13 04:01:59 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
allowUnfree = false;
|
|
|
|
allowUnfreePredicate = pkg:
|
2024-07-21 10:09:21 +00:00
|
|
|
lib.elem (lib.getName pkg) [
|
2024-05-23 16:15:10 +00:00
|
|
|
"broadcom-sta"
|
|
|
|
"minecraft-server"
|
2024-02-13 04:01:59 +00:00
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|