From 3086f83fc95ae1abe8759c3cfebe7aa5794c801b Mon Sep 17 00:00:00 2001 From: muon Date: Thu, 31 Jul 2025 22:35:06 +0000 Subject: [PATCH] Add ssh write priviledge --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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