From 50672e10e87fa90f9ded5065aa4bc4ce0afaf730 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Wed, 25 Dec 2024 01:34:17 +0100 Subject: [WIP] Setup `deploy-rs` and add networking detection script --- hosts/by-name/server2/hardware.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'hosts/by-name/server2/hardware.nix') 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"; } -- cgit 1.4.1