From fbdac308ec3ddaa70a55f77f95895d3be5152911 Mon Sep 17 00:00:00 2001 From: Daniel Flanagan Date: Sat, 14 Sep 2024 07:20:34 -0500 Subject: [PATCH] Fix second offsite backups --- nixos/beefcake.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/nixos/beefcake.nix b/nixos/beefcake.nix index 08eb17f..bdc8f4e 100644 --- a/nixos/beefcake.nix +++ b/nixos/beefcake.nix @@ -762,9 +762,8 @@ sudo nix run nixpkgs#ipmitool -- raw 0x30 0x30 0x02 0xff 0x00 benland = defaults // { - passwordFile = config.sops.secrets.restic-ssh-priv-key-benland.path; extraOptions = [ - "sftp.command='ssh daniel@n.benhaney.com -p 10022 -i /root/.ssh/id_ed25519 -s sftp'" + ''sftp.command="ssh daniel@n.benhaney.com -p 10022 -i ${config.sops.secrets.restic-ssh-priv-key-benland.path} -s sftp"'' ]; repository = "sftp://daniel@n.benhaney.com://storage/backups/beefcake"; };