From 37f27d231a722c92a7c2904fe4632fd803451c25 Mon Sep 17 00:00:00 2001 From: Nick Date: Sun, 27 Oct 2024 12:34:00 -0500 Subject: [PATCH] feat: wiki-js test --- nixos/modules/services/wiki.nix | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/nixos/modules/services/wiki.nix b/nixos/modules/services/wiki.nix index 8a8fe6f..015c2ce 100755 --- a/nixos/modules/services/wiki.nix +++ b/nixos/modules/services/wiki.nix @@ -13,15 +13,15 @@ in { wiki-js = { enable = true; environmentFile = config.sops.secrets."${service.name}-pass".path; - # settings = { - # port = service.ports.port0; - # bindIP = localhost; - # db = { - # db = service.name; - # type = "postgres"; - # host = host; - # }; - # }; + settings = { + port = service.ports.port0; + bindIP = localhost; + db = { + db = service.name; + type = "postgres"; + host = "/run/postgresql"; + }; + }; }; caddy = {