From f4354da57d265628f75fdae3a9716512d60bef5c Mon Sep 17 00:00:00 2001 From: muon Date: Thu, 20 Jun 2024 23:41:18 +0000 Subject: [PATCH] Reuse pass --- hosts/muon/hardware-configuration.nix | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/hosts/muon/hardware-configuration.nix b/hosts/muon/hardware-configuration.nix index 75f15c2..4e54ee3 100644 --- a/hosts/muon/hardware-configuration.nix +++ b/hosts/muon/hardware-configuration.nix @@ -21,19 +21,8 @@ boot.initrd.luks.devices = { "luks-root".device = "/dev/disk/by-uuid/86769693-b61c-4712-852d-e0fba612d260"; - "luks-swap" = { - device = "/dev/disk/by-uuid/0418acfc-792c-43f4-a887-cc8bb51fa7c3"; - fallbackToPassword = true; - preLVM = false; - preOpenCommands = '' - mkdir -p /tmp/root - mount /dev/disk/by-uuid/03e49688-cc62-49c9-a906-e2ea87a38891 /tmp/root - ''; - keyFile = "/tmp/root/swap.key"; - postOpenCommands = '' - umount /tmp/persistent - ''; - }; + "luks-swap".device = + "/dev/disk/by-uuid/0418acfc-792c-43f4-a887-cc8bb51fa7c3"; }; fileSystems."/mnt/bulk" =