Use gluttony to render bluemap and rsync to bekkalokk #137
Reference in New Issue
Block a user
Delete Branch "gluttony-bluemap"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
closes Drift/issues#156
@@ -1,6 +1,7 @@{ config, lib, pkgs, inputs, ... }:I think bekkalokk will still be pulling and rendering the maps if we don't modify this somehow? With the current config, it seems like both gluttony and bekkalokk will render the maps, and then gluttony will override whatever bekkalokk rendered with rsync. Maybe it would be best to just remove the entire
services.bluemapconfig here, and just useservices.nginxto configure the hosting directly?@@ -2,2 +1,4 @@{ config, lib, pkgs, inputs, values, ... }:letvanillaSurvival = "/var/lib/bluemap/vanilla_survival_world";webExport = "/var/lib/bluemap/web";This might be better dynamically evaluated as
webExport = config.services.bluemap.webRoot, or possibly just inlined@@ -0,0 +4,4 @@webExport = "/var/lib/bluemap/web";format = pkgs.formats.hocon { };in {# NOTE: our versino of the module gets added in flake.nixThis typo was probably here on bekkalokk as well, but might as well fix since we're editing the code anyway
@@ -0,0 +113,4 @@};};services.nginx.virtualHosts."minecraft.pvv.ntnu.no" = {This probably shouldn't be here unless we also are planning to host the webdir on gluttony?
da81004373to8e4717f1908e4717f190to309bd0199d@@ -0,0 +112,4 @@];};};You should probably remove the firewall opening here as well, that is for HTTPS with nginx
2e40197aeftobae0e6d7d4ff9d928c8bto4aeab2c7b8@@ -80,4 +12,1 @@};};systemd.services."render-bluemap-maps" = {This should probably be removed as well
lol yes
@@ -7,3 +6,4 @@# NOTE: our version of the module gets added in flake.nixdisabledModules = [ "services/web-apps/bluemap.nix" ];sops.secrets."bluemap/ssh-key" = { };These are seemingly not needed anymore? Can maybe be removed from the sops file as well
@@ -28,5 +28,5 @@sorting = 0;start-pos = {x = 0;z = 0;};This one is going to need some of the
locationconfig from the module, seeI don't get what you were trying to say here. What was wrong?
4aeab2c7b8to52e1d693cc@@ -188,5 +188,5 @@overlays = [(final: prev: {mediawiki-extensions = final.callPackage ./packages/mediawiki-extensions {};simplesamlphp = final.callPackage ./packages/simplesamlphp {};bluemap = final.callPackage ./packages/bluemap.nix {};Both this and the
self.nixosModules.bluemapfurther down is probably not needed anymore.0570091cedto273110b30479dd898f70to3d43a32fc7🔥🔥🔥
3d43a32fc7toefd50868e0