Merge pull request 'trinkgenossin: fix network in initrd' (#244) from trinkgenossin-remote-luks into main

Reviewed-on: #244
Reviewed-by: hensoko <hensoko@noreply.git.pub.solar>
This commit is contained in:
teutat3s 2024-10-24 12:51:18 +00:00
commit 90bbaad7b7
Signed by: pub.solar gitea
GPG key ID: F0332B04B7054873
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;
}