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; }; }; };