formatting

This commit is contained in:
Motiejus Jakštys 2024-07-31 11:27:41 +03:00
parent 6be2edaac1
commit b4c25b511e
1 changed files with 14 additions and 8 deletions

View File

@ -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}"