diff --git a/README.md b/README.md index ce2ef31..2f01848 100644 --- a/README.md +++ b/README.md @@ -12,8 +12,8 @@ rbw config set email admin@muon.host rbw config set base_url https://vault.muon.host rbw login sudo mkdir -p /mnt/etc/ssh -nix-shell -p jq --run "rbw get --raw sopsssh | jq -r '.data.password'" > /mnt/etc/ssh/ssh_host_ed25519_key.pub -nix-shell -p jq --run "rbw get --raw sopsssh | jq -r '.notes'" > /mnt/etc/ssh/ssh_host_ed25519_key +nix-shell -p jq --run "rbw get --raw sopsssh | jq -r '.data.password'" | sudo tee /mnt/etc/ssh/ssh_host_ed25519_key.pub +nix-shell -p jq --run "rbw get --raw sopsssh | jq -r '.notes'" | sudo tee /mnt/etc/ssh/ssh_host_ed25519_key sudo mkdir -p /mnt/var/lib/sops-nix sudo chown muon:users /mnt/var/lib/sops-nix -R rbw get sops > /mnt/var/lib/sops-nix/key.txt