setup backup on titan and nix fmt

This commit is contained in:
cy 2024-12-30 23:14:50 -05:00
parent d428cd2377
commit a372071b70
9 changed files with 127 additions and 24 deletions

17
hosts/titan/backup.nix Normal file
View file

@ -0,0 +1,17 @@
{
config,
...
}:
{
my.backup = {
enable = true;
jobName = "titanRsync";
exclude = [
# podman stuff
"/var/lib/containers"
];
repo = "titan";
passFile = config.sops.secrets."borg/rsyncnet".path;
sshKeyFile = config.sops.secrets."rsyncnet/id_ed25519".path;
};
}