mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-11-10 17:54:53 +01:00
This is the first step to upstream nixos-facter-modules into nixpkgs/nixos: https://github.com/numtide/nixos-facter-modules/ We tried to stick close to the semantics nixos-generate-config + some extra features. We choose a new prefix for hardware.facter to live in so that existing users of nixos-facter-modules can continue using it while the upstreaming is in progress. The reason for upstreaming is to make it easier to have nixos-facter as choice for hardware detection as part of our normal NixOS installation workflow. Hardware from my experience takes many hands since it is hard to test without having access to a large variety of hardware. We hope that with nixos-facter we can reduce the boiler code required in the nixos-hardware project and provide better out-of-the-box support, even if a model has not been explicitly added to nixos-hardware. I.e. unlike ubuntu we don't have support for detecting required GPU drivers. We believe that nixos-hardware will be still required for some vendor specific quirks, but we could in future automatically select the profiles based on reported SKU from facter. For more details watch the 2024 NixCon talk: https://www.youtube.com/watch?v=3H3YUqibC6c |
||
|---|---|---|
| .. | ||
| default.nix | ||