backups to brix

This commit is contained in:
Cyryl Płotnicki 2019-12-22 10:50:55 +00:00
parent 717a92042e
commit 7ce18438a0
2 changed files with 6 additions and 1 deletions

View file

@ -34,7 +34,7 @@
restic.backups.home = { restic.backups.home = {
passwordFile = "/etc/nixos/secrets/restic-password"; passwordFile = "/etc/nixos/secrets/restic-password";
paths = [ "/home" ]; paths = [ "/home" ];
repository = "sftp:fetcher@brix:/mnt/data/backup-targets"; repository = "rest:http://brix.local:8000/";
timerConfig = { OnCalendar = "hourly"; }; timerConfig = { OnCalendar = "hourly"; };
}; };

View file

@ -4,4 +4,9 @@
enable = true; enable = true;
joinNetworks = [ "d3ecf5726d580b5a" ]; joinNetworks = [ "d3ecf5726d580b5a" ];
}; };
networking.hosts = {
"172.23.223.219" = [ "brix.local" ];
};
} }