mirror of
https://git.pvv.ntnu.no/Drift/pvv-nixos-config.git
synced 2026-05-25 07:41:13 +02:00
gluttony: use webRoot variable
This commit is contained in:
@@ -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}"
|
||||
|
||||
Reference in New Issue
Block a user