hosts: per-device anti-feature
This commit is contained in:
parent
ff0d811b0a
commit
b138b7e8e8
3 changed files with 7 additions and 24 deletions
|
@ -1,43 +1,26 @@
|
|||
{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.1229.0"
|
||||
"protonup-qt-2.8.2"
|
||||
"cef-binary"
|
||||
#"virtualbox"
|
||||
#"virtualbox-modules"
|
||||
#"open-watcom-bin"
|
||||
#"open-watcom-bin-unwrapped"
|
||||
"sof-firmware"
|
||||
"cargo-bootstrap"
|
||||
"rustc-bootstrap-wrapper"
|
||||
"cef-binary"
|
||||
"rustc-bootstrap"
|
||||
"rustc-bootstrap-wrapper"
|
||||
"sof-firmware"
|
||||
"spotify"
|
||||
"vscodium"
|
||||
];
|
||||
|
||||
allowUnfree = false;
|
||||
allowUnfreePredicate = pkg:
|
||||
builtins.elem (lib.getName pkg) [
|
||||
"nvidia-x11"
|
||||
#"nvidia-settings"
|
||||
#"nvidia-persistenced"
|
||||
"xow_dongle-firmware"
|
||||
#"facetimehd-firmware"
|
||||
"osu-lazer-bin-2023.1229.0"
|
||||
"spotify"
|
||||
"steam"
|
||||
"steam-original"
|
||||
"steam-run"
|
||||
"xow_dongle-firmware"
|
||||
];
|
||||
};
|
||||
}
|
|
@ -9,6 +9,7 @@
|
|||
|
||||
# Hardware
|
||||
./hardware-configuration.nix
|
||||
./anti-feature.nix
|
||||
../../nixos/profiles/common/opt-in/lanzaboote.nix
|
||||
../../nixos/profiles/common/opt-in/impermanence.nix
|
||||
../../nixos/profiles/common/opt-in/disko.nix
|
||||
|
|
|
@ -9,7 +9,6 @@
|
|||
./hardening
|
||||
./networking
|
||||
./nix
|
||||
./anti-feature.nix
|
||||
|
||||
# Flake modules
|
||||
inputs.self.nixosModules.default
|
||||
|
|
Loading…
Reference in a new issue