commit 407d2f7b2720df774854d0653eff3be1037adcf6
parent 1f92d277fa675a139791e591272ce6ed6dc4f8b1
Author: Katja (ctucx) <git@ctu.cx>
Date: Tue, 18 Mar 2025 19:53:23 +0100
parent 1f92d277fa675a139791e591272ce6ed6dc4f8b1
Author: Katja (ctucx) <git@ctu.cx>
Date: Tue, 18 Mar 2025 19:53:23 +0100
configurations/nixos/websites: remove `dendrite.ctucx.de.nix`
2 files changed, 0 insertions(+), 53 deletions(-)
D
|
52
----------------------------------------------------
diff --git a/configurations/nixos/websites/dendrite.ctucx.de.nix b/configurations/nixos/websites/dendrite.ctucx.de.nix @@ -1,52 +0,0 @@ -{ pkgs, lib, config, ... }: - -{ - - dns.zones."ctucx.de".subdomains.dendrite.CNAME = [ "${config.networking.fqdn}." ]; - - users.groups.dendrite = {}; - users.users.dendrite = { - isSystemUser = true; - home = "/var/lib/dendrite"; - group = "dendrite"; - }; - - services.dendrite = { - enable = true; - openRegistration = false; - settings = { - global.server_name = "dendrite.ctucx.de"; - global.private_key = "/var/lib/dendrite/private_key.pem"; - - global.well_known_server_name = "dendrite.ctucx.de:443"; - global.well_known_client_name = "https://dendrite.ctucx.de"; - - client_api.registration_disabled = true; - client_api.registration_shared_secret = "joihgpiufgpueiuessqiegp87tf-e8d7pgwiugbdpiugp87dfo87ugfodiujpfd87g97dpg97dp97"; - }; - }; - - services.nginx = { - enable = true; - virtualHosts = { - "${config.services.dendrite.settings.global.server_name}" = { - useACMEHost = "${config.networking.fqdn}"; - forceSSL = true; - kTLS = true; - locations = { - "/.well-known".proxyPass = "http://[::1]:8008"; - "/_matrix".proxyPass = "http://[::1]:8008"; - "/".root = pkgs.cinny.override { - conf = { - defaultHomeserver = 0; - homeserverList = [ "${config.services.dendrite.settings.global.server_name}" ]; - allowCustomHomesevrers = false; - }; - }; - }; - }; - - }; - }; - -}
diff --git a/nodes/wanderduene/default.nix b/nodes/wanderduene/default.nix @@ -25,7 +25,6 @@ ctucxConfig.services.dns-server ctucxConfig.websites."ip.ctu.cx" - ctucxConfig.websites."dendrite.ctucx.de" ctucxConfig.websites."flauschehorn.katja.wtf" ./rclone-restic-server.nix