Move Envy back to Pear
This commit is contained in:
parent
d2204a4916
commit
c04e4203ea
12 changed files with 34 additions and 43 deletions
30
hosts/pear/hardware/default.nix
Normal file
30
hosts/pear/hardware/default.nix
Normal file
|
@ -0,0 +1,30 @@
|
|||
{ config, lib, modulesPath, ... }:
|
||||
{
|
||||
imports = [
|
||||
(modulesPath + "/hardware/network/broadcom-43xx.nix")
|
||||
(modulesPath + "/installer/scan/not-detected.nix")
|
||||
];
|
||||
|
||||
boot = {
|
||||
initrd = {
|
||||
availableKernelModules = [
|
||||
"nvme"
|
||||
"sd_mod"
|
||||
"usb_storage"
|
||||
"xhci_pci"
|
||||
];
|
||||
kernelModules = [
|
||||
"applespi"
|
||||
"atkbd"
|
||||
"dm-snapshot"
|
||||
"intel_lpss_pci"
|
||||
"spi_pxa2xx_platform"
|
||||
];
|
||||
};
|
||||
kernelModules = [ "kvm-intel" ];
|
||||
};
|
||||
|
||||
networking.useDHCP = lib.mkDefault true;
|
||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue