diff options
author | sterni <sternenseemann@systemli.org> | 2023-12-25T11·21+0100 |
---|---|---|
committer | clbot <clbot@tvl.fyi> | 2023-12-25T11·26+0000 |
commit | 32e8e16e1e8bc44851d49f3c4c684753d7d2ee24 (patch) | |
tree | bddc0b836c1215a3152e105cab22f60b663b9e70 /users/sterni/machines/ingeborg | |
parent | d4dc28b675299bb64e6b98ad6a7c83aeae211035 (diff) |
feat(sterni/machines/ingeborg): regularly back up minecraft worlds r/7263
This is just intended as a local backup in case things go wrong horribly, so you can revert to a recent state. Change-Id: I1d666bad77045a1c807204df144422ba69d1d99f Reviewed-on: https://cl.tvl.fyi/c/depot/+/10417 Autosubmit: sterni <sternenseemann@systemli.org> Reviewed-by: sterni <sternenseemann@systemli.org> Tested-by: BuildkiteCI
Diffstat (limited to 'users/sterni/machines/ingeborg')
-rw-r--r-- | users/sterni/machines/ingeborg/minecraft.nix | 8 |
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 |