diff --git a/hosts/buskerud/services/bluemap.nix b/hosts/buskerud/services/bluemap.nix new file mode 100644 index 0000000..9bf7735 --- /dev/null +++ b/hosts/buskerud/services/bluemap.nix @@ -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/"; +} \ No newline at end of file