1
0
Fork 0
forked from pub-solar/infra

trinkgenossin: fix network in initrd, virtio_net

kernel module was missing. Also this is a QEMU host, hyperV is not
required.
This commit is contained in:
teutat3s 2024-10-23 20:16:53 +02:00
parent 0ae6bc637b
commit 31a885926b
Signed by untrusted user: teutat3s
GPG key ID: 4FA1D3FA524F22C1

View file

@ -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;
}