summary refs log tree commit diff stats
path: root/hosts/by-name/server2/hardware.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/by-name/server2/hardware.nix')
-rw-r--r--hosts/by-name/server2/hardware.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/hosts/by-name/server2/hardware.nix b/hosts/by-name/server2/hardware.nix
index 9abc64c..a6e4e40 100644
--- a/hosts/by-name/server2/hardware.nix
+++ b/hosts/by-name/server2/hardware.nix
@@ -9,6 +9,7 @@
     # FIXME: Find a better way to specify the disk
     disk = "/dev/vda";
   };
+
   boot.initrd.availableKernelModules = ["ata_piix" "uhci_hcd" "virtio_pci" "sr_mod" "virtio_blk"];
-  boot.initrd.kernelModules = [];
+  nixpkgs.hostPlatform = "x86_64-linux";
 }