mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-02-07 12:19:07 +00:00
hosts/ni: update hardware and networking setup
This commit is contained in:
parent
5acba7ba41
commit
40895e71c3
@ -9,7 +9,7 @@
|
||||
boot.kernelPackages = pkgs.linuxPackages_latest;
|
||||
|
||||
boot.initrd.availableKernelModules =
|
||||
[ "xhci_pci" "ahci" "nvme" "usb_storage" "uas" "sd_mod" ];
|
||||
[ "xhci_pci" "ahci" "nvme" "usbhid" "uas" "sd_mod" ];
|
||||
boot.initrd.kernelModules = [ ];
|
||||
boot.kernelModules = [ "kvm-intel" ];
|
||||
boot.extraModulePackages = [ ];
|
||||
@ -22,7 +22,7 @@
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
|
||||
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
|
||||
hardware.cpu.intel.updateMicrocode = lib.mkDefault true;
|
||||
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||
|
||||
services.btrfs.autoScrub = {
|
||||
enable = true;
|
||||
|
@ -128,10 +128,7 @@ in
|
||||
|
||||
# We'll configure individual network interfaces to use DHCP since it can
|
||||
# fail wait-online-interface.service.
|
||||
networking.useDHCP = false;
|
||||
networking.dhcpcd.enable = false;
|
||||
networking.interfaces.enp1s0.useDHCP = true;
|
||||
networking.interfaces.wlp2s0.useDHCP = true;
|
||||
networking.useDHCP = lib.mkDefault true;
|
||||
|
||||
# Configure the networking bonds.
|
||||
networking.bonds.bond0 = {
|
||||
|
Loading…
Reference in New Issue
Block a user