diff --git a/hosts/fwminex/configuration.nix b/hosts/fwminex/configuration.nix index f7c899a..5bb80e2 100644 --- a/hosts/fwminex/configuration.nix +++ b/hosts/fwminex/configuration.nix @@ -107,14 +107,20 @@ in sshKeyPath = "/etc/ssh/ssh_host_ed25519_key"; dirs = builtins.concatMap - (host: [ - { - repo = "${host}:${config.networking.hostName}.${config.networking.domain}-home-motiejus-annex2"; - subvolume = "/home"; - paths = [ "motiejus/annex2" ]; - backup_at = "*-*-* 02:30:01 UTC"; - } - ]) + ( + host: + let + prefix = "${host}:${config.networking.hostName}.${config.networking.domain}"; + in + [ + { + subvolume = "/home"; + repo = "${prefix}-home-motiejus-annex2"; + paths = [ "motiejus/annex2" ]; + backup_at = "*-*-* 02:30:01 UTC"; + } + ] + ) [ "zh2769@zh2769.rsync.net" "borgstor@${myData.hosts."vno3-rp3b.servers.jakst".jakstIP}"