Encrypted root VM testing
This commit is contained in:
parent
4befc47285
commit
4ebb7a41ff
6 changed files with 49 additions and 9 deletions
|
@ -1,6 +1,10 @@
|
|||
# ssh-keygen -t ed25519 -N "" -f ./ssh_host_ed25519_key
|
||||
|
||||
{ ... }: {
|
||||
imports = [
|
||||
./systemd-boot.nix
|
||||
];
|
||||
|
||||
boot.initrd = {
|
||||
systemd = {
|
||||
enable = true;
|
||||
|
|
|
@ -3,4 +3,6 @@
|
|||
kernelModules = [ "virtio_net" "e1000" ];
|
||||
availableKernelModules = [ "ahci" "xhci_pci" "virtio_pci" "sr_mod" "virtio_blk" ];
|
||||
};
|
||||
|
||||
boot.zfs.devNodes = "/dev/disk/by-partuuid";
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue