diff options
Diffstat (limited to 'machines/aszlig/managed/tyree.nix')
-rw-r--r-- | machines/aszlig/managed/tyree.nix | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/machines/aszlig/managed/tyree.nix b/machines/aszlig/managed/tyree.nix index 2f2c410d..c7190507 100644 --- a/machines/aszlig/managed/tyree.nix +++ b/machines/aszlig/managed/tyree.nix @@ -4,19 +4,19 @@ boot.initrd.availableKernelModules = [ "usbhid" ]; boot.kernelModules = [ "kvm-intel" ]; - boot.initrd.luks.devices = [ - { name = "00-vault"; + boot.initrd.luks.devices = { + "00-vault" = { device = "/dev/disk/by-uuid/e4eb3d30-7fa5-4af4-86fb-80b47518cc25"; - } - { name = "tyree-swap"; + }; + tyree-swap = { device = "/dev/disk/by-uuid/d96e29b4-0b9a-442d-af27-805f69ffffb3"; keyFile = "/dev/mapper/00-vault"; - } - { name = "tyree-root"; + }; + tyree-root = { device = "/dev/disk/by-uuid/21e9a86e-c8dc-4d8f-ba75-d03552dc32f7"; keyFile = "/dev/mapper/00-vault"; - } - ]; + }; + }; boot.initrd.postDeviceCommands = lib.mkAfter '' cryptsetup luksClose /dev/mapper/00-vault |