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 nixos/graphics: don't mark package options as internal 2025-05-10 14:36:08 -04:00
hackrf.nix
i2c.nix
infiniband.nix treewide: run nixfmt 1.0.0 2025-07-24 13:55:40 +02:00
inputmodule.nix
iosched.nix nixos/iosched: exclude loop devices by default 2025-03-08 21:56:51 +01:00
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 nixos/libjaylink: init module 2025-03-12 18:42:28 +01:00
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 treewide: Format all Nix files 2025-04-01 20:10:43 +02:00
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 treewide: Format all Nix files 2025-04-01 20:10:43 +02:00
xone.nix nixos/xone: enable xpad-noone by default 2025-04-29 22:38:48 +08:00
xpad-noone.nix nixos/xpad-noone: init 2025-03-17 03:44:58 +08:00
xpadneo.nix