diff --git a/hardware/asrock.nix b/hardware/asrock.nix index e9c052a..29d3cf1 100644 --- a/hardware/asrock.nix +++ b/hardware/asrock.nix @@ -1,9 +1,20 @@ { config, lib, pkgs, modulesPath, ... }: { imports = [ (modulesPath + "/installer/scan/not-detected.nix") ]; - boot.initrd.availableKernelModules = - [ "nvme" "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ]; + boot.initrd.availableKernelModules = [ + "nvme" + "usbhid" + "usb_storage" + "sd_mod" + "xhci_pci" + "ahci" + "virtio-pci" + "igb" + ]; boot.initrd.kernelModules = [ ]; boot.kernelModules = [ "kvm-amd" ]; boot.extraModulePackages = [ ]; + + hardware.cpu.amd.updateMicrocode = true; + nix.maxJobs = lib.mkDefault 24; } diff --git a/host/lindberg/networking.nix b/host/lindberg/networking.nix index 6cb2370..1919153 100644 --- a/host/lindberg/networking.nix +++ b/host/lindberg/networking.nix @@ -9,7 +9,7 @@ in { services.qois.luks-ssh = { enable = true; - interface = "enp5s0"; + interface = "eth0"; sshPort = 2222; }; }