From 9160bd22fcbfe08b343aae3b1e1b007a031ac64c Mon Sep 17 00:00:00 2001 From: cy Date: Fri, 20 Dec 2024 18:54:20 -0500 Subject: [PATCH] fix secret path and nix fmt --- hosts/chunk/borg.nix | 7 +++++-- hosts/ytnix/default.nix | 5 ++++- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/hosts/chunk/borg.nix b/hosts/chunk/borg.nix index a66c470..f186a69 100644 --- a/hosts/chunk/borg.nix +++ b/hosts/chunk/borg.nix @@ -31,13 +31,16 @@ passCommand = "cat ${config.sops.secrets."borg/rsyncnet".path}"; }; environment = { - BORG_RSH = ''ssh -i ${config.sops.secrets."rsyncnet/id_ed25519"}''; + BORG_RSH = ''ssh -i ${config.sops.secrets."rsyncnet/id_ed25519".path}''; BORG_REMOTE_PATH = "borg1"; BORG_EXIT_CODES = "modern"; }; compression = "auto,zstd"; startAt = "hourly"; - extraCreateArgs = [ "--stats" "-x" ]; + extraCreateArgs = [ + "--stats" + "-x" + ]; # warnings are often not that serious failOnWarnings = false; postHook = '' diff --git a/hosts/ytnix/default.nix b/hosts/ytnix/default.nix index f029a99..61b162b 100644 --- a/hosts/ytnix/default.nix +++ b/hosts/ytnix/default.nix @@ -216,7 +216,10 @@ }; compression = "auto,zstd"; startAt = "daily"; - extraCreateArgs = [ "--stats" "-x" ]; + extraCreateArgs = [ + "--stats" + "-x" + ]; # warnings are often not that serious failOnWarnings = false; postHook = ''