diff options
| author | andromeda <andromeda@lenovo> | 2026-01-13 05:53:57 +0100 |
|---|---|---|
| committer | andromeda <andromeda@lenovo> | 2026-01-13 05:53:57 +0100 |
| commit | dcb82ed361fcd36a5f0149c98f73ed36f75fb8fc (patch) | |
| tree | b4faac4bb7aa5145f9840b567ec01faad71ae0a8 /modules/nixos/matrix-conduit.nix | |
| parent | b25ce469b625dda07e267797f18dd3406a865fbf (diff) | |
add README, conduit
Diffstat (limited to 'modules/nixos/matrix-conduit.nix')
| -rw-r--r-- | modules/nixos/matrix-conduit.nix | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/modules/nixos/matrix-conduit.nix b/modules/nixos/matrix-conduit.nix new file mode 100644 index 0000000..595d48c --- /dev/null +++ b/modules/nixos/matrix-conduit.nix @@ -0,0 +1,13 @@ +{config, ...}: { + services.matrix-conduit = { + enable = true; + settings.global = { + server_name = "${config.networking.domain}"; + address = "localhost"; + database_backend = "rocksdb"; + allow_registration = true; + allow_federation = true; + }; + secretFile = config.age.secrets.conduit-secretFile.path; + }; +} |
