Skip to content

Commit

Permalink
Changing how to open LUKS.
Browse files Browse the repository at this point in the history
  • Loading branch information
rudolfvesely authored and mergify[bot] committed Sep 15, 2023
1 parent e52fd72 commit 8aa6ec5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/types/luks.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 ""}
'';
Expand Down

0 comments on commit 8aa6ec5

Please sign in to comment.