From 162546f0a175aa873f763a351341b8cec27e6f8c Mon Sep 17 00:00:00 2001 From: Edmund Wu <22758444+eadwu@users.noreply.github.com> Date: Sun, 28 Apr 2019 13:49:32 -0400 Subject: nixos/luksroot: create /run/cryptsetup (#60235) Needed since 2.0.0 Changed to /run/cryptsetup from /run/lock/cryptsetup in 2.0.1 --- nixos/modules/system/boot/luksroot.nix | 3 +++ 1 file changed, 3 insertions(+) (limited to 'nixos/modules/system/boot/luksroot.nix') diff --git a/nixos/modules/system/boot/luksroot.nix b/nixos/modules/system/boot/luksroot.nix index aa4a5f8abcc..3841074f043 100644 --- a/nixos/modules/system/boot/luksroot.nix +++ b/nixos/modules/system/boot/luksroot.nix @@ -87,6 +87,9 @@ let mkdir -p /crypt-ramfs mount -t ramfs none /crypt-ramfs + # Cryptsetup locking directory + mkdir -p /run/cryptsetup + # For Yubikey salt storage mkdir -p /crypt-storage -- cgit 1.4.1