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_MZVLW256HEHP-000H1_S340NX0K910298";
#keyDiskDevice = "/dev/disk/by-id/usb-Intenso_Micro_Line_22080777640496-0:0";
keyDiskDevice = "/dev/sdb";
};
networking.hostName = "c1";
boot.initrd.luks.devices."luksroot".keyFile = "/dev/sda";
services.tailscaleAutoconnect.authkey = "tskey-auth-kmFvBT3CNTRL-wUbELKSd5yhuuTwTcgJZxhPUTxKgcYKF";
}