nixpkgs/nixos/modules/hardware
Mirza Arnaut 15ad26705b nixos/hardware.fw-fanctrl: add package option and refactor using lib.attrsets.recursiveUpdate
Typically services have a `package` option, so it can be set externally
if users are running the stable version but want the package from
unstable, or devs want to test a package from their flake in production.
Really useful in many situations!

Also, the previous implementation was using `pkgs.runCommand` which is
discouraged due to
[IFD](https://nix.dev/manual/nix/2.26/language/import-from-derivation)
(import from derivation) leading to potential slowdowns during
evaluation. I opted for reading the json file and using
[lib.attrsets.recursiveUpdate](https://ryantm.github.io/nixpkgs/functions/library/attrsets/#function-library-lib.attrsets.recursiveUpdate)
to update the default values with the user provided ones.
2025-07-27 19:12:59 +02:00
..
cpu
keyboard
network
onlykey
raid
sensor nixos/iio: add package option 2025-07-16 11:19:08 +02:00
video treewide: run nixfmt 1.0.0 2025-07-24 13:55:40 +02:00
acpilight.nix
all-firmware.nix
all-hardware.nix treewide: run nixfmt 1.0.0 2025-07-24 13:55:40 +02:00
apple-touchbar.nix
bladeRF.nix
brillo.nix
ckb-next.nix
coral.nix
corectrl.nix nixos/amdgpu: add overdrive and ppfeaturemask option (#411155) 2025-05-27 19:45:13 +05:30
decklink.nix
device-tree.nix treewide: run nixfmt 1.0.0 2025-07-24 13:55:40 +02:00
digitalbitbox.nix
flipperzero.nix
flirc.nix
fw-fanctrl.nix nixos/hardware.fw-fanctrl: add package option and refactor using lib.attrsets.recursiveUpdate 2025-07-27 19:12:59 +02:00
glasgow.nix
gpgsmartcards.nix
graphics.nix
hackrf.nix
i2c.nix
infiniband.nix treewide: run nixfmt 1.0.0 2025-07-24 13:55:40 +02:00
inputmodule.nix
iosched.nix
kryoflux.nix nixos/kryoflux: fix typo programs.kryoflux -> hardware.kryoflux 2025-07-15 19:05:57 +01:00
ksm.nix treewide: run nixfmt 1.0.0 2025-07-24 13:55:40 +02:00
ledger.nix
libftdi.nix
libjaylink.nix
logitech.nix treewide: run nixfmt 1.0.0 2025-07-24 13:55:40 +02:00
mcelog.nix
new-lg4ff.nix
nfc-nci.nix treewide: run nixfmt 1.0.0 2025-07-24 13:55:40 +02:00
nitrokey.nix
openrazer.nix
opentabletdriver.nix
pcmcia.nix
printers.nix
rtl-sdr.nix
saleae-logic.nix
sata.nix
sheep-net.nix sheep_net: init 2025-07-16 14:24:36 +01:00
steam-hardware.nix
system-76.nix treewide: run nixfmt 1.0.0 2025-07-24 13:55:40 +02:00
tuxedo-drivers.nix
ubertooth.nix
uinput.nix
uni-sync.nix
usb-modeswitch.nix
usb-storage.nix
wooting.nix
xone.nix
xpad-noone.nix
xpadneo.nix