summaryrefslogtreecommitdiffstats
path: root/nixos/modules/system
diff options
context:
space:
mode:
authorEdmund Wu <22758444+eadwu@users.noreply.github.com>2019-04-28 13:49:32 -0400
committerJoachim F <joachifm@users.noreply.github.com>2019-04-28 17:49:32 +0000
commit162546f0a175aa873f763a351341b8cec27e6f8c (patch)
treed65b3f16277abb202049eedbf67a0a04a2f2b282 /nixos/modules/system
parent05d3d71967d7cf78f36b62c6022e1d40c1f305da (diff)
nixos/luksroot: create /run/cryptsetup (#60235)
Needed since 2.0.0 Changed to /run/cryptsetup from /run/lock/cryptsetup in 2.0.1
Diffstat (limited to 'nixos/modules/system')
-rw-r--r--nixos/modules/system/boot/luksroot.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/nixos/modules/system/boot/luksroot.nix b/nixos/modules/system/boot/luksroot.nix
index aa4a5f8abcce..3841074f0433 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