Remote disk unlocking: Difference between revisions

Arnecc (talk | contribs)
updated remote unlocking / removed non functional legacy setup
Arnecc (talk | contribs)
 
Line 199: Line 199:
   initrdBin = with pkgs; [ keyutils ];
   initrdBin = with pkgs; [ keyutils ];
   extraBin = {
   extraBin = {
     "systemd-tty-ask-password-agent" = "${pkgs.systemd}/bin/systemd-tty-ask-password-agent";
     "systemd-tty-ask-password-agent" = "${lib.getExe' pkgs.systemd "systemd-tty-ask-password-agent"}";
     "bcachefs-unlock-shell" = "${unlockShell}/bin/bcachefs-unlock-shell";
     "bcachefs-unlock-shell" = "${lib.getExe unlockShell}";
   };
   };
   users.root.shell = "/bin/bcachefs-unlock-shell";
   users.root.shell = "/bin/bcachefs-unlock-shell";