From 6e2ba8663812f7a76561e7689bdd059e1a52a2b4 Mon Sep 17 00:00:00 2001 From: zuckerberg <5-zuckerberg@users.noreply.git.neet.dev> Date: Tue, 29 Jun 2021 12:07:56 -0400 Subject: [PATCH] try direct luks --- machines/ray/configuration.nix | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/machines/ray/configuration.nix b/machines/ray/configuration.nix index 523012c..ddf8894 100644 --- a/machines/ray/configuration.nix +++ b/machines/ray/configuration.nix @@ -13,12 +13,17 @@ efi.enable = true; - luks = { - enable = true; - device = { - path = "/dev/disk/by-uuid/fbe946d3-414f-4c2e-bb24-b845870fde6c"; - allowDiscards = true; - }; + # luks = { + # enable = true; + # device = { + # path = "/dev/disk/by-uuid/fbe946d3-414f-4c2e-bb24-b845870fde6c"; + # allowDiscards = true; + # }; + # }; + + boot.initrd.luks.devices."enc-pv" = { + device = "/dev/disk/by-uuid/fbe946d3-414f-4c2e-bb24-b845870fde6c"; + allowDiscards = true; }; networking.hostName = "ray";