nixos-configs/modules/borgbackup/default.nix

35 lines
789 B
Nix
Raw Normal View History

2024-03-02 22:04:23 -05:00
{...}: {
imports = [./module.nix];
config.services.borgbackup = {
2024-03-02 22:04:23 -05:00
existingRepos = [
{
2024-07-24 15:49:31 -04:00
name = "docker";
host = "nos";
2024-03-02 22:04:23 -05:00
authorizedKeys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPijoxuSwH9IrS4poewzHHwe64UoX4QY7Qix5VhEdqKR root@servivi"
];
}
2024-03-02 22:04:23 -05:00
{
name = "mc";
host = "servivi";
2024-03-02 22:04:23 -05:00
authorizedKeys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPijoxuSwH9IrS4poewzHHwe64UoX4QY7Qix5VhEdqKR root@servivi"
];
}
{
name = "seven-days";
host = "nos";
authorizedKeys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPijoxuSwH9IrS4poewzHHwe64UoX4QY7Qix5VhEdqKR root@servivi"
];
}
2024-03-02 22:04:23 -05:00
];
};
# For accurate stack trace
_file = ./default.nix;
2024-03-02 22:04:23 -05:00
}