diff options
| author | Alejandro Soto <alejandro@34project.org> | 2025-01-11 16:38:39 -0600 |
|---|---|---|
| committer | Alejandro Soto <alejandro@34project.org> | 2025-01-11 16:38:39 -0600 |
| commit | b560049e1e9866c5a9f16e4a749194411d64a11b (patch) | |
| tree | 47297a9614e87096c8c287b1f9cf513e701d5611 /sys/conduit | |
| parent | 344884ab44642af52a23a69137f87a289ae8f71f (diff) | |
flake, sys: remove conduit
Diffstat (limited to 'sys/conduit')
| -rw-r--r-- | sys/conduit/default.nix | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/sys/conduit/default.nix b/sys/conduit/default.nix deleted file mode 100644 index 597960b..0000000 --- a/sys/conduit/default.nix +++ /dev/null @@ -1,50 +0,0 @@ -{ config, flakes, lib, pkgs, ... }: -with lib; let - cfg = config.local.conduit; - - fqdn = config.local.domains.matrix.main; - inherit (config.local.domains.matrix.passthru) serverName; -in -{ - options.local.conduit = { - enable = mkEnableOption "conduit Matrix homeserver"; - - listenAddress = mkOption { - type = types.str; - default = "127.0.0.1"; - }; - - listenPort = mkOption { - type = types.port; - default = 6167; - }; - }; - - config = mkIf cfg.enable { - services.matrix-conduit = { - enable = true; - - package = flakes.conduwuit.packages.${pkgs.system}.default; - - settings.global = { - port = cfg.listenPort; - address = cfg.listenAddress; - server_name = serverName; - - database_backend = "sqlite"; - - allow_encryption = true; - allow_federation = true; - allow_registration = false; - enable_lightning_bolt = false; - allow_check_for_updates = true; - new_user_displayname_suffix = ""; - - well_known = { - client = "https://${fqdn}"; - server = "${fqdn}:443"; - }; - }; - }; - }; -} |
