Encrypted root VM testing
This commit is contained in:
parent
4befc47285
commit
4ebb7a41ff
6 changed files with 49 additions and 9 deletions
19
systems/vm-docker-host/vm-docker-host-zfs.nix
Normal file
19
systems/vm-docker-host/vm-docker-host-zfs.nix
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
# git add *; tar -cavf /Parlor/Lauren/mlaga97-nixos.tar.zst ../mlaga97-nixos
|
||||
# tar -xvf /Parlor/Lauren/mlaga97-nixos.tar.zst; sudo nix run 'github:nix-community/disko/latest#disko-install' -- --extra-files ./ssh_host_ed25519_key /root/secrets/initrd/ssh_host_ed25519_key --flake mlaga97-nixos#$TARGET_HOSTNAME --disk vda /dev/vda
|
||||
# tar -xvf /Parlor/Lauren/mlaga97-nixos.tar.zst; sudo nixos-rebuild switch --flake mlaga97-nixos?submodules=1#$HOSTNAME
|
||||
{ ... }: {
|
||||
imports = [
|
||||
./vm-docker-host-base.nix
|
||||
|
||||
# UEFI SSH ZFS
|
||||
../../tweaks/zfs.nix
|
||||
../../features/initrd-ssh.nix
|
||||
../../features/virtualization/libvirt-guest-uefi.nix
|
||||
|
||||
../../disko/libvirt/uefi-zfs-base.nix
|
||||
../../disko/libvirt/zfs-mirror.nix
|
||||
../../disko/libvirt/zfs-encrypted.nix
|
||||
];
|
||||
|
||||
boot.supportedFilesystems = [ "zfs" ];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue