try keyctl for real
This commit is contained in:
parent
a5a5a9b959
commit
f0ea807221
1 changed files with 2 additions and 2 deletions
|
|
@ -89,6 +89,7 @@ in
|
|||
|
||||
# PRIMARY unencrypt
|
||||
boot.initrd.systemd.enable = true;
|
||||
boot.initrd.systemd.packages = [ pkgs.keyutils ];
|
||||
boot.supportedFilesystems = [
|
||||
"bcachefs"
|
||||
"vfat"
|
||||
|
|
@ -128,8 +129,7 @@ in
|
|||
script = ''
|
||||
echo "Using test password..."
|
||||
keyctl link @u @s
|
||||
# echo "test" | ${pkgs.bcachefs-tools}/bin/bcachefs unlock -k session "${PRIMARY}"
|
||||
echo "test" | ${pkgs.bcachefs-tools}/bin/bcachefs unlock "${PRIMARY}"
|
||||
echo "test" | ${pkgs.bcachefs-tools}/bin/bcachefs unlock -k session "${PRIMARY}"
|
||||
echo "bcachefs unlock successful for ${PRIMARY}"
|
||||
'';
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue