mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-15 09:23:37 +00:00
08783a39b0
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.
6 lines
186 B
Nix
6 lines
186 B
Nix
# Set `hardware.enableAllHardware = true` instead of importing this file.
|
|
# This file provides backwards compatibility for older configurations.
|
|
{
|
|
hardware.enableAllHardware = true;
|
|
}
|