mirror of
https://github.com/oddlama/nixos-extra-modules.git
synced 2025-10-10 22:00:39 +02:00
feat: change program to rclone and use --append-only on restic server
This commit is contained in:
parent
c058a7597b
commit
2dfcc1f7de
2 changed files with 17 additions and 12 deletions
|
@ -55,9 +55,9 @@ in {
|
|||
url = "${subuser}@${submod.config.hetznerStorageBox.mainUser}.your-storagebox.de";
|
||||
in
|
||||
mkIf submod.config.hetznerStorageBox.enable {
|
||||
repository = "sftp://${url}:23/";
|
||||
repository = "rclone:";
|
||||
extraOptions = [
|
||||
"sftp.command='ssh -p23 ${url} -i ${config.age.secrets.${submod.config.hetznerStorageBox.sshAgeSecret}.path} -s sftp'"
|
||||
"rclone.program='ssh -p23 ${url} -i ${config.age.secrets.${submod.config.hetznerStorageBox.sshAgeSecret}.path}'"
|
||||
];
|
||||
};
|
||||
}));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue