mirror of
https://codeberg.org/muon/home.git
synced 2025-12-06 08:07:45 +00:00
Add ssh write priviledge
This commit is contained in:
parent
a1e4f2b6e1
commit
3086f83fc9
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue