still no unlock at boot
This commit is contained in:
parent
8c5af53b9e
commit
28c36e5efa
1 changed files with 1 additions and 2 deletions
|
|
@ -106,7 +106,7 @@ in
|
||||||
# # Replace /dev/disk/by-uuid/XXXX with your actual device
|
# # Replace /dev/disk/by-uuid/XXXX with your actual device
|
||||||
# echo "$PASSPHRASE" | ${pkgs.bcachefs-tools}/bin/bcachefs unlock /dev/disk/by-uuid/XXXX
|
# echo "$PASSPHRASE" | ${pkgs.bcachefs-tools}/bin/bcachefs unlock /dev/disk/by-uuid/XXXX
|
||||||
# '';
|
# '';
|
||||||
boot.initrd.systemd.enable = true;
|
# boot.initrd.systemd.enable = true;
|
||||||
boot.supportedFilesystems = [
|
boot.supportedFilesystems = [
|
||||||
"bcachefs"
|
"bcachefs"
|
||||||
"vfat"
|
"vfat"
|
||||||
|
|
@ -167,7 +167,6 @@ in
|
||||||
# };
|
# };
|
||||||
|
|
||||||
boot.initrd.postResumeCommands = lib.mkAfter ''
|
boot.initrd.postResumeCommands = lib.mkAfter ''
|
||||||
keyctl link @u @s
|
|
||||||
echo "test" | bcachefs unlock -k session ${PRIMARY}
|
echo "test" | bcachefs unlock -k session ${PRIMARY}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue