desperate attempt to make this work

This commit is contained in:
Lyn 2024-10-16 19:00:09 +02:00
parent 694067f075
commit e5980dca43
2 changed files with 16 additions and 2 deletions

View file

@ -18,8 +18,16 @@
system.stateVersion = "24.05";
# FDE stuff
boot.initrd.availableKernelModules = [ "virtio-pci" ];
boot.initrd.network = {
boot.initrd = {
availableKernelModules = [ "virtio-pci" ];
secrets = {"/root/initrd-ssh-key" = "/root/initrd-ssh-key";};
network = {
udhcpc.enable = true;
flushBeforeStage2 = true;
enable = true;
ssh = {
enable = true;
@ -33,4 +41,7 @@
echo 'cryptsetup-askpass' >> /root/.profile
'';
};
}
}

View file

@ -13,6 +13,9 @@
boot.kernelModules = [ "kvm-amd" ];
boot.extraModulePackages = [ ];
boot.initrd.systemd.enable = true;
#boot.initrd.luks.devices."root".device = "/dev/disk/by-uuid/db8a5cf9-c54b-4e6a-b3f9-e6323eb962a6";
fileSystems."/" =
{ device = "/dev/disk/by-uuid/4f7afb2d-a730-4a0c-a9e4-92d75ebd1540";
fsType = "btrfs";