Add Out of Your Element

This commit is contained in:
Amanda Graven 2025-04-05 16:05:09 +02:00
parent b41fbbe6f8
commit 25391e3261
Signed by: amanda
GPG key ID: F747582C5608F4CB
8 changed files with 26 additions and 0 deletions

3
.gitmodules vendored Normal file
View file

@ -0,0 +1,3 @@
[submodule "config/hosts/grondahl/services/ooye"]
path = config/hosts/grondahl/services/ooye
url = https://cgit.rory.gay/nix/OOYE-module.git

View file

@ -16,6 +16,7 @@
./services/nginx.nix
./services/synapse.nix
./services/postgres.nix
./services/ooye.nix
#./services/mail.nix
#./services/containers.nix
#./services/redis.nix

Binary file not shown.

Binary file not shown.

View file

@ -1,6 +1,11 @@
{
imports = [ ../../../common/services/nginx.nix ];
services.nginx.virtualHosts = {
"ooye.anarkafem.dev" = {
enableACME = true;
forceSSL = true;
locations."/".proxyPass = "http://127.0.0.1:6693/";
};
"anarkafem.dev" = {
enableACME = true;
forceSSL = true;

@ -0,0 +1 @@
Subproject commit 11cc65efa2909bdc7e3e978bf1f56f6d141bf82a

View file

@ -0,0 +1,16 @@
# Out of your Element prerequisites
{ config, ... }:
{
imports = [
./ooye/module.nix
];
services.matrix-ooye = {
enable = true;
homeserver = "http://localhost:8008";
namespace = "_discord_";
discordClientSecretPath = builtins.toString config.secrets.files.ooye_client_secret.file;
discordTokenPath = builtins.toString config.secrets.files.ooye_token.file;
bridgeOrigin = "https://ooye.anarkafem.dev";
enableSynapseIntegration = true;
};
}