Skip to content

Commit a35e0c1

Browse files
committed
Remove unused keyfile
1 parent a559b35 commit a35e0c1

File tree

2 files changed

+6
-13
lines changed

2 files changed

+6
-13
lines changed

flake.lock

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

system/default.nix

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,9 @@
1212
efi.canTouchEfiVariables = true;
1313
};
1414

15-
# Set up keyfile
16-
boot.initrd.secrets = {
17-
"/crypto_keyfile.bin" = null;
18-
};
19-
2015
# Enable swap on luks
2116
boot.initrd.luks.devices."luks-58a9f60d-bf2d-4c94-8f08-8e29a4083728".device =
2217
"/dev/disk/by-uuid/58a9f60d-bf2d-4c94-8f08-8e29a4083728";
23-
boot.initrd.luks.devices."luks-58a9f60d-bf2d-4c94-8f08-8e29a4083728".keyFile =
24-
"/crypto_keyfile.bin";
2518

2619
# Restrict boot mount access
2720
fileSystems."/boot".options = lib.mkForce [ "umask=0077" ];

0 commit comments

Comments
 (0)