From b8ec6308bda895a2c5c4ac96b45f7f6cdd646805 Mon Sep 17 00:00:00 2001 From: Vegard Bieker Matthey Date: Sun, 24 May 2026 08:33:24 +0200 Subject: [PATCH] gluttony: use webRoot variable --- hosts/gluttony/services/bluemap.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/hosts/gluttony/services/bluemap.nix b/hosts/gluttony/services/bluemap.nix index 52c23bb..a73d957 100644 --- a/hosts/gluttony/services/bluemap.nix +++ b/hosts/gluttony/services/bluemap.nix @@ -1,7 +1,6 @@ { config, lib, pkgs, inputs, ... }: let vanillaSurvival = "/var/lib/bluemap/vanilla_survival_world"; - webExport = "/var/lib/bluemap/web"; format = pkgs.formats.hocon { }; in { # NOTE: our version of the module gets added in flake.nix @@ -105,7 +104,7 @@ in { no-group = true; rsh = "${pkgs.openssh}/bin/ssh -o UserKnownHostsFile=%d/ssh-known-hosts -i %d/sshkey"; }; - in "${lib.getExe pkgs.rsync} ${rsyncArgs} ${webExport} root@bekkalokk.pvv.ntnu.no:/"; + in "${lib.getExe pkgs.rsync} ${rsyncArgs} ${config.services.bluemap.webRoot} root@bekkalokk.pvv.ntnu.no:/"; LoadCredential = [ "sshkey:${config.sops.secrets."bluemap/ssh-key".path}" "ssh-known-hosts:${config.sops.secrets."bluemap/ssh-known-hosts".path}"