nix-config/modules/borgmatic/default.nix

23 lines
443 B
Nix
Raw Normal View History

2025-04-11 13:13:32 +02:00
{
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";
};
};
};
};
};
}