diff --git a/modules/restic/system.nix b/modules/restic/system.nix index 84d71df..b4b5db1 100644 --- a/modules/restic/system.nix +++ b/modules/restic/system.nix @@ -34,9 +34,9 @@ let # script to use restic as user without dealing with authentication authScript = pkgs.writeShellScriptBin "restic-auth" '' - . <(pass nixos/machines/${config.networking.hostName}/restic-s3 | sed 's/^/export /') + . <(pass data/wasabi/restic-nixos | sed 's/^/export /') ${pkgs.restic}/bin/restic \ - --password-command="pass nixos/machines/${config.networking.hostName}/restic-password" \ + --password-command="pass data/backup/restic-nixos" \ --repo "${repository}" \ $@ '';