about summary refs log tree commit diff
path: root/users/sterni/machines/ingeborg
diff options
context:
space:
mode:
Diffstat (limited to 'users/sterni/machines/ingeborg')
-rw-r--r--users/sterni/machines/ingeborg/minecraft.nix8
1 files changed, 6 insertions, 2 deletions
diff --git a/users/sterni/machines/ingeborg/minecraft.nix b/users/sterni/machines/ingeborg/minecraft.nix
index ae367c5988df..df6c531deb82 100644
--- a/users/sterni/machines/ingeborg/minecraft.nix
+++ b/users/sterni/machines/ingeborg/minecraft.nix
@@ -38,11 +38,10 @@ let
   };
 in
 
-# TODO(sterni): regular backups of carpet world
-
 {
   imports = [
     ../../modules/minecraft-fabric.nix
+    ../../modules/backup-minecraft-fabric.nix
   ];
 
   config = {
@@ -65,6 +64,11 @@ in
       minecraft-rcon.file = depot.users.sterni.secrets."minecraft-rcon.age";
     };
 
+    services.backup-minecraft-fabric-servers = {
+      enable = true;
+      repository = "/srv/backup/from-local/minecraft";
+    };
+
     services.minecraft-fabric-server = {
       creative = {
         enable = false; # not actively used