From a07fffbbe234922389718c4c08885141be7467ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eirik=20Witters=C3=B8?= Date: Sat, 8 Jun 2024 23:36:18 +0200 Subject: [PATCH] WIP: Add bluemap --- hosts/buskerud/services/bluemap.nix | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 hosts/buskerud/services/bluemap.nix diff --git a/hosts/buskerud/services/bluemap.nix b/hosts/buskerud/services/bluemap.nix new file mode 100644 index 0000000..ab843eb --- /dev/null +++ b/hosts/buskerud/services/bluemap.nix @@ -0,0 +1,9 @@ +{config, ...}: +{ + 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