diff options
author | Edmund Wu <22758444+eadwu@users.noreply.github.com> | 2019-04-28 13:49:32 -0400 |
---|---|---|
committer | Joachim F <joachifm@users.noreply.github.com> | 2019-04-28 17:49:32 +0000 |
commit | 162546f0a175aa873f763a351341b8cec27e6f8c (patch) | |
tree | d65b3f16277abb202049eedbf67a0a04a2f2b282 /nixos/modules/system/boot/luksroot.nix | |
parent | 05d3d71967d7cf78f36b62c6022e1d40c1f305da (diff) | |
download | nixpkgs-162546f0a175aa873f763a351341b8cec27e6f8c.tar nixpkgs-162546f0a175aa873f763a351341b8cec27e6f8c.tar.gz nixpkgs-162546f0a175aa873f763a351341b8cec27e6f8c.tar.bz2 nixpkgs-162546f0a175aa873f763a351341b8cec27e6f8c.tar.lz nixpkgs-162546f0a175aa873f763a351341b8cec27e6f8c.tar.xz nixpkgs-162546f0a175aa873f763a351341b8cec27e6f8c.tar.zst nixpkgs-162546f0a175aa873f763a351341b8cec27e6f8c.zip |
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/boot/luksroot.nix')
-rw-r--r-- | nixos/modules/system/boot/luksroot.nix | 3 |
1 files changed, 3 insertions, 0 deletions
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 |