more updates

This commit is contained in:
RingOfStorms (Joshua Bell) 2025-12-13 16:22:27 -06:00
parent d08b8f6f72
commit 4a9a8c8843
3 changed files with 14 additions and 9 deletions

View file

@ -74,8 +74,9 @@ in
copy_bin_and_libs ${pkgs.bcachefs-tools}/bin/bcachefs
'';
# Method 1, prompt user for password on boot
boot.initrd.preDeviceCommands = ''
${pkgs.bcachefs-tools}/bin/bcachefs unlock /dev/disk/by-uuid/XXXX
${pkgs.bcachefs-tools}/bin/bcachefs unlock ${PRIMARY}
'';
# # Run unlock before devices are scanned/mounted