Convert c1 & c2 to disko and cleanup old keys.

This commit is contained in:
2024-09-13 12:04:10 +01:00
parent 85fd5ad6f0
commit 558b8f827c
8 changed files with 14 additions and 76 deletions

View File

@@ -3,10 +3,16 @@
imports = [
../../common/global
../../common/compute-node.nix
../../common/encrypted-btrfs-layout.nix
./hardware.nix
];
diskLayout = {
mainDiskDevice = "/dev/disk/by-id/nvme-SAMSUNG_MZVLB256HAHQ-000H1_S425NA1M132963";
#keyDiskDevice = "/dev/disk/by-id/usb-Intenso_Micro_Line_22080777650675-0:0";
keyDiskDevice = "/dev/sda";
};
networking.hostName = "c2";
boot.initrd.luks.devices."luksroot".keyFile = "/dev/sda";
services.tailscaleAutoconnect.authkey = "tskey-auth-kbYnZK2CNTRL-SpUVCuzS6P3ApJiDaB6RM3M4b8M9TXgS";
}