Files
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
..
2025-07-24 13:55:40 +02:00
2025-07-24 13:55:40 +02:00
2025-07-24 13:55:40 +02:00
2025-07-24 13:55:40 +02:00
2025-07-24 13:55:40 +02:00
2025-07-24 13:55:40 +02:00
2025-07-24 13:55:40 +02:00
2025-07-16 14:24:36 +01:00
2025-07-24 13:55:40 +02:00