flake/nixos/profiles/core/packages/anti-feature.nix

41 lines
958 B
Nix
Raw Normal View History

{lib, ...}: {
2023-12-09 08:09:25 +00:00
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"
2023-12-10 16:23:58 +00:00
"osu-lazer-bin-2023.1130.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"
2023-12-10 16:23:58 +00:00
"osu-lazer-bin-2023.1130.0"
"spotify"
"steam"
"steam-original"
2023-12-10 16:23:58 +00:00
"steam-run"
];
};
}