nixos-configs/nixosModules/borgbackup/default.nix

32 lines
719 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";
2024-03-02 22:04:23 -05:00
authorizedKeys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPijoxuSwH9IrS4poewzHHwe64UoX4QY7Qix5VhEdqKR root@servivi"
];
}
2024-03-02 22:04:23 -05:00
{
name = "mc";
authorizedKeys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPijoxuSwH9IrS4poewzHHwe64UoX4QY7Qix5VhEdqKR root@servivi"
];
}
{
name = "seven-days";
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
}