backups to brix
This commit is contained in:
parent
717a92042e
commit
7ce18438a0
2 changed files with 6 additions and 1 deletions
|
@ -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"; };
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -4,4 +4,9 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
joinNetworks = [ "d3ecf5726d580b5a" ];
|
joinNetworks = [ "d3ecf5726d580b5a" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
networking.hosts = {
|
||||||
|
"172.23.223.219" = [ "brix.local" ];
|
||||||
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue