summaryrefslogtreecommitdiff
path: root/odin.nix
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2018-04-09 13:35:37 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2018-04-09 13:35:37 +0200
commit05393c477a2ec1bfc0ed8c6a4f8a80066f5ec81d (patch)
treed3895f51a8d9e7dc08ac2947ce4a1c64a452ef59 /odin.nix
parentbb87c21224a1aad29b52267d3be710aac87871d1 (diff)
downloadnixos-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.nix14
1 files changed, 9 insertions, 5 deletions
diff --git a/odin.nix b/odin.nix
index 588ff9e4..ec8731e9 100644
--- a/odin.nix
+++ b/odin.nix
@@ -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 };