WIP: Add bluemap

This commit is contained in:
Eirik Witterso 2024-06-08 23:36:18 +02:00
parent ceaa67fc19
commit 4cac2c1152
1 changed files with 9 additions and 0 deletions

View File

@ -0,0 +1,9 @@
{config, values, pkgs, ...}:
{
services.bluemap = {
enable = true;
eula = true;
defaultWorld = "/var/lib/bluemap/vanilla/";
};
systemd.services."render-bluemap-maps".preStart = "rsync -e 'ssh -i ${config.sops.secrets."?".path}' root@innovation.pvv.ntnu.no:/var/backups/minecraft/current/ /var/lib/bluemap/vanilla/";
}