trinkgenossin: fix network in initrd #244

Merged
teutat3s merged 2 commits from trinkgenossin-remote-luks into main 2024-10-24 12:51:18 +00:00
2 changed files with 3 additions and 3 deletions

View file

@ -10,7 +10,7 @@
home-manager = {
imports = [
inputs.home-manager.nixosModules.home-manager
({
{
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.extraSpecialArgs = {
@ -18,7 +18,7 @@
inherit self inputs config;
};
};
})
}
];
};
};

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