diff --git a/nixos/hardware/machines/deck.nix b/nixos/hardware/machines/deck.nix index b169b31..aae055a 100644 --- a/nixos/hardware/machines/deck.nix +++ b/nixos/hardware/machines/deck.nix @@ -14,11 +14,11 @@ initrd = { availableKernelModules = [ "nvme" - "xhci_pci" - "usbhid" - "usb_storage" - "sd_mod" - "sdhci_pci" + "xhci_pci" + "usbhid" + "usb_storage" + "sd_mod" + "sdhci_pci" ]; kernelModules = [ "kvm-amd" @@ -52,7 +52,6 @@ # Enables DHCP on each ethernet and wireless interface. networking.useDHCP = lib.mkDefault true; - nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; } diff --git a/nixos/hardware/machines/server.nix b/nixos/hardware/machines/server.nix index 762f93f..ee97bd4 100644 --- a/nixos/hardware/machines/server.nix +++ b/nixos/hardware/machines/server.nix @@ -95,6 +95,7 @@ options = [ "bind" ]; }; }; + swapDevices = [ { device = "/dev/disk/by-uuid/ec422cad-bf93-4b15-b989-2c807f1073a4"; } ];