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 = {