nix-config/modules/borgmatic/default.nix

22 lines
443 B
Nix

{
programs.borgmatic = {
enable = true;
backups = {
test = {
location = {
sourceDirectories = [
"/home/muhh/muhhmory"
];
repositories = [
"ssh://u455876@u455876.your-storagebox.de/./test"
];
};
storage = {
extraConfig = {
ssh_command = "ssh -p 23 -i ~/.ssh/id_ed25519";
};
};
};
};
};
}