From 9868d51ec549cb073b83e24701b1cd4a815d24d2 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Tue, 27 Sep 2022 19:53:23 +0800 Subject: [PATCH] nixops: new old-nixbld hardware --- nixops/old-nixbld-hardware-configuration.nix | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/nixops/old-nixbld-hardware-configuration.nix b/nixops/old-nixbld-hardware-configuration.nix index 2199b972..f0deb98f 100644 --- a/nixops/old-nixbld-hardware-configuration.nix +++ b/nixops/old-nixbld-hardware-configuration.nix @@ -8,27 +8,23 @@ [ ]; - boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usb_storage" "usbhid" "sd_mod" ]; + boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usbhid" ]; boot.initrd.kernelModules = [ ]; - boot.kernelModules = [ "kvm-intel" ]; + boot.kernelModules = [ "kvm-amd" ]; boot.extraModulePackages = [ ]; fileSystems."/" = - { device = "/dev/disk/by-uuid/e8aa18dc-70de-440c-885f-652a123acb15"; + { device = "/dev/disk/by-uuid/69b15848-1cfc-4e3e-91de-1df0d2fc7a80"; fsType = "ext4"; }; fileSystems."/boot" = - { device = "/dev/disk/by-uuid/19DD-B26F"; + { device = "/dev/disk/by-uuid/D0A3-DDAE"; fsType = "vfat"; }; - swapDevices = - [ { device = "/dev/disk/by-uuid/86b091d2-9e61-4938-bcd9-6417e69a98b3"; } - ]; - - nix.maxJobs = lib.mkDefault 12; powerManagement.cpuFreqGovernor = lib.mkDefault "powersave"; + hardware.cpu.amd.updateMicrocode = true; boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = true; @@ -37,5 +33,5 @@ services.xserver.videoDrivers = [ "nvidia" ]; services.xserver.displayManager.gdm.wayland = false; - system.stateVersion = "19.03"; + system.stateVersion = "22.05"; }