diff --git a/machines/renge/services/hedgedoc.nix b/machines/renge/services/hedgedoc.nix index a5e91a2..07e940d 100644 --- a/machines/renge/services/hedgedoc.nix +++ b/machines/renge/services/hedgedoc.nix @@ -16,7 +16,7 @@ in services.hedgedoc = { enable = true; - configuration = { + settings = { host = "127.0.0.1"; port = 3001; db = { @@ -50,13 +50,13 @@ in }; systemd.tmpfiles.rules = [ - "d ${cfg.configuration.uploadsPath} 0700 hedgedoc hedgedoc - -" + "d ${cfg.settings.uploadsPath} 0700 hedgedoc hedgedoc - -" ]; services.nginx.virtualHosts."pad.sbruder.de" = { enableACME = true; forceSSL = true; - locations."/".proxyPass = "http://${cfg.configuration.host}:${toString cfg.configuration.port}"; + locations."/".proxyPass = "http://${cfg.settings.host}:${toString cfg.settings.port}"; }; }