nixos-configs/nixosModules/borgbackup/default.nix
matt1432 27e5b1671d
All checks were successful
Discord / discord commits (push) Has been skipped
feat(borg): support specifying different hosts for repos
2024-09-13 01:58:00 -04:00

34 lines
785 B
Nix

{...}: {
imports = [./module.nix];
config.services.borgbackup = {
existingRepos = [
{
name = "docker";
host = "nos";
authorizedKeys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPijoxuSwH9IrS4poewzHHwe64UoX4QY7Qix5VhEdqKR root@servivi"
];
}
{
name = "mc";
host = "nos";
authorizedKeys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPijoxuSwH9IrS4poewzHHwe64UoX4QY7Qix5VhEdqKR root@servivi"
];
}
{
name = "seven-days";
host = "nos";
authorizedKeys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPijoxuSwH9IrS4poewzHHwe64UoX4QY7Qix5VhEdqKR root@servivi"
];
}
];
};
# For accurate stack trace
_file = ./default.nix;
}