]>
Git — Sourcephile - julm/julm-nix.git/blob - private/hosts/decrypt.sh
9 sudo unshare
--mount sh
-xc "
10 mount --bind $dir/$host/root/credential.secret /var/lib/systemd/credential.secret &&
11 mount --bind $dir/$host/root/machine-id /etc/machine-id &&
12 systemd-creds decrypt --with-key=host --name '$name' '$key' -