1 { pkgs, lib, config, ... }:
2 let inherit (config.security) pass; in
6 interval = "*-*-* *:15:00";
7 sshKey = pass.secrets."/root/.ssh/id_ed25519".path;
13 "losurdo_nvme/home/julm/work" = {
15 target = "root@mermet.sourcephile.fr:rpool/backup/losurdo/home/julm/work";
17 "losurdo_nvme/var/postgresql" = {
19 target = "root@mermet.sourcephile.fr:rpool/backup/losurdo/var/postgresql";
21 "root@mermet.sourcephile.fr:rpool/var/mail" = {
23 target = "losurdo_nvme/backup/mermet/var/mail";
25 "root@mermet.sourcephile.fr:rpool/var/public-inbox" = {
27 target = "losurdo_nvme/backup/mermet/var/public-inbox";
29 "root@mermet.sourcephile.fr:rpool/var/www" = {
31 target = "losurdo_nvme/backup/mermet/var/www";
33 "root@mermet.sourcephile.fr:rpool/var/git" = {
35 target = "losurdo_nvme/backup/mermet/var/git";
37 "root@mermet.sourcephile.fr:rpool/var/redis" = {
39 target = "losurdo_nvme/backup/mermet/var/redis";
41 "root@mermet.sourcephile.fr:rpool/home/julm/mail" = {
43 target = "losurdo_nvme/backup/mermet/home/julm/mail";
45 "root@mermet.sourcephile.fr:rpool/home/julm/log" = {
47 target = "losurdo_nvme/backup/mermet/home/julm/log";