From 14cd301bcd2d1fcec411e04230ff09bd699c7f22 Mon Sep 17 00:00:00 2001 From: Dennis Date: Fri, 20 Feb 2026 11:50:54 +0100 Subject: [PATCH] fixes backrest --- modules/backrest/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/backrest/default.nix b/modules/backrest/default.nix index 8651fbe..86a080c 100644 --- a/modules/backrest/default.nix +++ b/modules/backrest/default.nix @@ -17,7 +17,7 @@ let { id = "dnsc-storage"; uri = "sftp:dnsc-storage:restic/dnsc-server"; - password = "file:${config.age.secrets."restic/password".path}"; + env = [ "RESTIC_PASSWORD_FILE=${config.age.secrets."restic/password".path}" ]; flags = [ "-o 'sftp.args=-i /root/.ssh/id_ed25519 -o StrictHostKeyChecking=accept-new'" ];