From f761cd0b770ebff8e7f78d1d88fa7ac0c9b74590 Mon Sep 17 00:00:00 2001 From: aszlig Date: Mon, 24 Dec 2018 09:52:03 +0100 Subject: machines/dnyarri: Use close instead of luksClose The "luksClose" subcommand for cryptsetup has been deprecated for a while, so let's move over to "close". Signed-off-by: aszlig --- machines/aszlig/dnyarri.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/machines/aszlig/dnyarri.nix b/machines/aszlig/dnyarri.nix index 82ec5df7..3b0c7508 100644 --- a/machines/aszlig/dnyarri.nix +++ b/machines/aszlig/dnyarri.nix @@ -49,7 +49,7 @@ in { luks.devices = lib.singleton vaultDevice ++ lib.concatLists (lib.attrValues cryptDevices); postDeviceCommands = lib.mkAfter '' - cryptsetup luksClose ${lib.escapeShellArg vaultPath} + cryptsetup close ${lib.escapeShellArg vaultPath} ''; }; }; -- cgit 1.4.1