From 8aa6ec5ff220f1d9749d636dbeb46ec929f112dc Mon Sep 17 00:00:00 2001 From: Rudolf Vesely Date: Fri, 15 Sep 2023 06:54:18 +0000 Subject: [PATCH] Changing how to open LUKS. --- lib/types/luks.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/types/luks.nix b/lib/types/luks.nix index d43cc73..e9bf8f1 100644 --- a/lib/types/luks.nix +++ b/lib/types/luks.nix @@ -114,7 +114,7 @@ in { dev = '' cryptsetup status ${config.name} >/dev/null 2>/dev/null || - cryptsetup luksOpen ${config.device} ${config.name} \ + cryptsetup open ${config.device} ${config.name} \ ${keyFileArgs} ${lib.optionalString (config.content != null) contentMount.dev or ""} '';