Added syncoid service

Sets up ZFS replication. Syncoid modules handles configuration for both
the remote and the target but I'm thinking I should split this up in the
future.
This commit is contained in:
Alejandro Angulo 2023-08-03 17:21:58 -07:00
parent 30a6e58691
commit ff6fa1c1f3
Signed by: alejandro-angulo
GPG key ID: 75579581C74554B6
4 changed files with 108 additions and 1 deletions

View file

@ -41,6 +41,21 @@
configureClientRouting = true;
configureServerRouting = true;
};
services.syncoid = {
enable = true;
commands = {
"bpool" = {
target = "backups@192.168.113.13:tank/backups/gospel/bpool";
recursive = true;
sshKey = "/var/lib/syncoid/.ssh/id_ed25519";
};
"rpool" = {
target = "backups@192.168.113.13:tank/backups/gospel/rpool";
recursive = true;
sshKey = "/var/lib/syncoid/.ssh/id_ed25519";
};
};
};
hardware.audio.enable = true;
hardware.bluetooth.enable = true;