]> git.immae.eu Git - perso/Immae/Config/Nix.git/blobdiff - modules/private/websites/tools/mastodon/default.nix
Rename backup module to duply_backup
[perso/Immae/Config/Nix.git] / modules / private / websites / tools / mastodon / default.nix
index d67ae2bcb35580dd3ae46c1ea5bc0eefe6514802..97f2452579cfd44b6bf98091cf57a7c8964b1ca1 100644 (file)
@@ -10,6 +10,9 @@ in {
   };
 
   config = lib.mkIf cfg.enable {
+    services.duplyBackup.profiles.mastodon = {
+      rootDir = mcfg.dataDir;
+    };
     secrets.keys = [{
       dest = "webapps/tools-mastodon";
       user = "mastodon";