about summary refs log tree commit diff
path: root/modules/services
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-04-13 16:02:23 -0700
committerFranck Cuny <franck@fcuny.net>2022-04-13 16:02:23 -0700
commit63d74669cc68c20fa1d628967340548fe3707186 (patch)
treea06b8db8436452ba1e615b0e600f7b3e56ebab2d /modules/services
parentdrone: configuration fixes (diff)
downloadworld-63d74669cc68c20fa1d628967340548fe3707186.tar.gz
drone: backup the state directory
Diffstat (limited to 'modules/services')
-rw-r--r--modules/services/drone/server/default.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/services/drone/server/default.nix b/modules/services/drone/server/default.nix
index 9c1d1a1..abd323f 100644
--- a/modules/services/drone/server/default.nix
+++ b/modules/services/drone/server/default.nix
@@ -46,5 +46,7 @@ in {
       dnsProvider = "gcloud";
       credentialsFile = secrets."acme/credentials".path;
     };
+
+    my.services.backup = { paths = [ "/var/lib/droner-server" ]; };
   };
 }