From 1fa28f03061cbba1a6dd519f96d9b8110afa0385 Mon Sep 17 00:00:00 2001 From: Nick Date: Sat, 19 Oct 2024 15:06:09 -0500 Subject: [PATCH] feat: wiki test --- config/instance.nix | 3 ++- nixos/modules/services/wiki.nix | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/config/instance.nix b/config/instance.nix index 08fac86..b7672a9 100755 --- a/config/instance.nix +++ b/config/instance.nix @@ -348,7 +348,8 @@ in { }; subdomain = wikiSubdomain; paths = { - path0 = "${servicePath}/${wikiLabel}/BackupDir"; + path0 = "${servicePath}/${wikiLabel}"; + path1 = "${servicePath}/${wikiLabel}/DataDir"; }; ports = { port0 = 3033; diff --git a/nixos/modules/services/wiki.nix b/nixos/modules/services/wiki.nix index 2ba6e96..03d5e42 100644 --- a/nixos/modules/services/wiki.nix +++ b/nixos/modules/services/wiki.nix @@ -19,6 +19,7 @@ in { bindIP = localhost; db = { type = "postgres"; + host = paths.path1; }; }; };