From 31a885926b400476e61057be9c43838227980617 Mon Sep 17 00:00:00 2001 From: teutat3s Date: Wed, 23 Oct 2024 20:16:53 +0200 Subject: [PATCH] trinkgenossin: fix network in initrd, virtio_net kernel module was missing. Also this is a QEMU host, hyperV is not required. --- hosts/trinkgenossin/hardware-configuration.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hosts/trinkgenossin/hardware-configuration.nix b/hosts/trinkgenossin/hardware-configuration.nix index a1432c9..0d8b2d9 100644 --- a/hosts/trinkgenossin/hardware-configuration.nix +++ b/hosts/trinkgenossin/hardware-configuration.nix @@ -18,6 +18,7 @@ "virtio_pci" "sr_mod" "virtio_blk" + "virtio_net" ]; boot.initrd.kernelModules = [ "dm-snapshot" ]; boot.kernelModules = [ "kvm-amd" ]; @@ -50,5 +51,4 @@ swapDevices = [ { device = "/dev/disk/by-label/swap"; } ]; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; - virtualisation.hypervGuest.enable = true; }