mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2025-11-03 16:57:14 +08:00
treewide: drop hardware-configuration.nix boilerplate (#28)
hardware-configuration.nix is still relied upon for hard drive configuration, and it handles variations of hardware (custom configurations, subrevisions).
This commit is contained in:
committed by
zimbatm
parent
a64cf32a57
commit
d4688911b7
@@ -5,20 +5,6 @@
|
||||
[ ../lib/kernel-version.nix
|
||||
];
|
||||
|
||||
## BEGIN from generated hardware-configuration
|
||||
## Probably better to just use a freshly generated hardware.configuration.nix
|
||||
## than this, but including for reference.
|
||||
#imports =
|
||||
# [ <nixpkgs/nixos/modules/installer/scan/not-detected.nix>
|
||||
# ];
|
||||
#
|
||||
#boot.initrd.availableKernelModules = [ "xhci_pci" "ehci_pci" "ahci" "usbhid" "sd_mod" "sdhci_pci" ];
|
||||
#boot.kernelModules = [ "kvm-intel" "wl" ];
|
||||
#boot.extraModulePackages = [ config.boot.kernelPackages.broadcom_sta ];
|
||||
#
|
||||
#nix.maxJobs = lib.mkDefault 8;
|
||||
## END from generated hardware-configuration
|
||||
|
||||
# Use the systemd-boot efi boot loader. (From default generated configuration.nix)
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
|
||||
Reference in New Issue
Block a user