From 52e48282b015355a9449889db464aeb35fe091b8 Mon Sep 17 00:00:00 2001 From: nyanloutre Date: Tue, 21 Apr 2020 02:39:41 +0200 Subject: [PATCH] PC-Fixe: Intel -> AMD --- systems/PC-Fixe/hardware-configuration.nix | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/systems/PC-Fixe/hardware-configuration.nix b/systems/PC-Fixe/hardware-configuration.nix index 348f99255..eb8e3572b 100644 --- a/systems/PC-Fixe/hardware-configuration.nix +++ b/systems/PC-Fixe/hardware-configuration.nix @@ -8,14 +8,13 @@ [ ]; - boot.initrd.availableKernelModules = [ "ehci_pci" "ahci" "nvme" "firewire_ohci" "pata_marvell" "xhci_pci" "usb_storage" "usbhid" "sd_mod" "sr_mod" ]; + boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ]; boot.initrd.kernelModules = [ "dm-snapshot" ]; - boot.kernelModules = [ "kvm-intel" "nct6775" ]; + boot.kernelModules = [ "kvm-amd" "coretemp" "it87" ]; boot.extraModulePackages = [ ]; services.xserver.videoDrivers = [ "nvidia" ]; - - hardware.cpu.intel.updateMicrocode = true; + hardware.cpu.amd.updateMicrocode = true; fileSystems."/" = { device = "rpool/root/nixos"; @@ -76,6 +75,6 @@ swapDevices = [ ]; - nix.maxJobs = lib.mkDefault 4; + nix.maxJobs = lib.mkDefault 12; powerManagement.cpuFreqGovernor = lib.mkDefault "performance"; }