still no unlock at boot

This commit is contained in:
RingOfStorms (Joshua Bell) 2025-12-14 12:55:55 -06:00
parent 8c5af53b9e
commit 28c36e5efa

View file

@ -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}
''; '';