use zfs legacy mount, because it boots better.
This appeared during boot time, and needed manual interference using Ctrl-D zfs_mount_at() failed: mountpoint or dataset is busy
This commit is contained in:
parent
33b3a33f51
commit
38c401b6e7
2 changed files with 13 additions and 13 deletions
nixos/components/network/sshd
|
@ -37,18 +37,18 @@ in
|
|||
environment.systemPackages =
|
||||
let
|
||||
|
||||
ssh = mapAttrsToList
|
||||
sshTor = mapAttrsToList
|
||||
(name:
|
||||
{ onionId, ... }:
|
||||
pkgs.writers.writeDashBin "ssh-boot-to-${name}" ''
|
||||
pkgs.writers.writeDashBin "ssh-boot-to-${name}-via-tor" ''
|
||||
${pkgs.tor}/bin/torify ${pkgs.openssh}/bin/ssh root@${onionId} -p 2222
|
||||
'')
|
||||
computers;
|
||||
|
||||
password = mapAttrsToList
|
||||
passwordTor = mapAttrsToList
|
||||
(name:
|
||||
{ onionId, ... }:
|
||||
pkgs.writers.writeDashBin "unlock-boot-${name}" ''
|
||||
pkgs.writers.writeDashBin "unlock-boot-${name}-via-tor" ''
|
||||
${pkgs.tor}/bin/torify ${pkgs.openssh}/bin/ssh root@${onionId} -p 2222 '
|
||||
echo -n "enter password : "
|
||||
read password
|
||||
|
@ -58,6 +58,6 @@ in
|
|||
computers;
|
||||
|
||||
in
|
||||
ssh ++ password;
|
||||
sshTor ++ passwordTor;
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue