40 lines
958 B
Nix
40 lines
958 B
Nix
{lib, ...}: {
|
|
hardware.enableRedistributableFirmware = true;
|
|
#hardware.enableAllFirmware = true;
|
|
|
|
nixpkgs.config = {
|
|
allowBroken = false;
|
|
allowUnsupportedSystem = false;
|
|
|
|
allowNonSource = false;
|
|
allowNonSourcePredicate = pkg:
|
|
builtins.elem (lib.getName pkg) [
|
|
"vscodium"
|
|
"spotify"
|
|
"adoptopenjdk-hotspot-bin"
|
|
"osu-lazer-bin-2023.1221.0"
|
|
"protonup-qt-2.8.2"
|
|
"cef-binary"
|
|
"virtualbox"
|
|
"virtualbox-modules"
|
|
"open-watcom-bin"
|
|
"open-watcom-bin-unwrapped"
|
|
"sof-firmware"
|
|
];
|
|
|
|
allowUnfree = false;
|
|
allowUnfreePredicate = pkg:
|
|
builtins.elem (lib.getName pkg) [
|
|
"nvidia-x11"
|
|
#"nvidia-settings"
|
|
#"nvidia-persistenced"
|
|
"xow_dongle-firmware"
|
|
#"facetimehd-firmware"
|
|
"osu-lazer-bin-2023.1224.0"
|
|
"spotify"
|
|
"steam"
|
|
"steam-original"
|
|
"steam-run"
|
|
];
|
|
};
|
|
}
|