summaryrefslogtreecommitdiff
path: root/src/Propellor/Property/SiteSpecific
diff options
context:
space:
mode:
Diffstat (limited to 'src/Propellor/Property/SiteSpecific')
-rw-r--r--src/Propellor/Property/SiteSpecific/JoeySites.hs6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/Propellor/Property/SiteSpecific/JoeySites.hs b/src/Propellor/Property/SiteSpecific/JoeySites.hs
index 4b3b06ad..cc7d19af 100644
--- a/src/Propellor/Property/SiteSpecific/JoeySites.hs
+++ b/src/Propellor/Property/SiteSpecific/JoeySites.hs
@@ -1317,3 +1317,9 @@ autoMountDrive label (USBHubPort port) malias = propertyList desc $ props
[ "stop " ++ mountpoint
, "start " ++ mountpoint
]
+
+rsyncNetBorgRepo :: String -> Borg.BorgRepo
+rsyncNetBorgRepo d = Borg.BorgRepoUsing
+ -- rsync.net has a newer borg here
+ [ Borg.UsesEnvVar ("BORG_REMOTE_PATH", "borg1")
+ ] ("2318@usw-s002.rsync.net:" ++ d)