Convert c1 & c2 to disko and cleanup old keys.
This commit is contained in:
@@ -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";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user