1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-06-19 07:59:24 +03:00
Commit graph

3 commits

Author SHA1 Message Date
DavHau
4e77d446f7 all-hardware.nix: format with nixfmt 2024-12-12 16:47:27 +07:00
DavHau
08783a39b0 nixos: add option hardware.enableAllHardware
This allows users to simply enable support for all hardware by enabling the option `hardware.enableAllHardware`, instead of having to import `modules/profiles/all-hardware.nix`.

This is better, as the enableAllHardware option will be discoverable via search.nixos.org, while the `all-hardware.nix` is hidden inside nixpkgs and hard to discover.

Backward compatibility is provided by replacing the old `profiles/all-hardware.nix` with a file that sets the `enableAllHardware` option to true.
2024-12-12 16:45:25 +07:00
DavHau
45628b1432 all-hardware: move to hardware/all-hardware.nix 2024-12-12 12:26:36 +07:00
Renamed from nixos/modules/profiles/all-hardware.nix (Browse further)