diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2018-04-09 13:35:37 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2018-04-09 13:35:37 +0200 |
commit | 05393c477a2ec1bfc0ed8c6a4f8a80066f5ec81d (patch) | |
tree | d3895f51a8d9e7dc08ac2947ce4a1c64a452ef59 /odin.nix | |
parent | bb87c21224a1aad29b52267d3be710aac87871d1 (diff) | |
download | nixos-05393c477a2ec1bfc0ed8c6a4f8a80066f5ec81d.tar nixos-05393c477a2ec1bfc0ed8c6a4f8a80066f5ec81d.tar.gz nixos-05393c477a2ec1bfc0ed8c6a4f8a80066f5ec81d.tar.bz2 nixos-05393c477a2ec1bfc0ed8c6a4f8a80066f5ec81d.tar.xz nixos-05393c477a2ec1bfc0ed8c6a4f8a80066f5ec81d.zip |
borg on odin
Diffstat (limited to 'odin.nix')
-rw-r--r-- | odin.nix | 14 |
1 files changed, 9 insertions, 5 deletions
@@ -148,11 +148,15 @@ | |||
148 | networks = ["127.0.0.0/8" "[::ffff:127.0.0.0]/104" "[::1]/128" "10.141.0.0/16"]; | 148 | networks = ["127.0.0.0/8" "[::ffff:127.0.0.0]/104" "[::1]/128" "10.141.0.0/16"]; |
149 | }; | 149 | }; |
150 | 150 | ||
151 | services.lvm-snapshots = { | 151 | services.borgbackup = { |
152 | snapshots = { | 152 | snapshots = "lvm"; |
153 | mail = { | 153 | prefix = "automatic.yggdrasil.asgard.odin."; |
154 | LV = "mail"; | 154 | targets = { |
155 | VG = "raid6"; | 155 | "munin" = { |
156 | repo = "borg.munin:borg"; | ||
157 | paths = [ | ||
158 | { VG = "raid6"; LV = "mail"; } | ||
159 | ]; | ||
156 | }; | 160 | }; |
157 | }; | 161 | }; |
158 | }; | 162 | }; |