Add Out of Your Element
This commit is contained in:
parent
b41fbbe6f8
commit
25391e3261
.gitmodules
config/hosts/grondahl
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal 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
|
|
@ -16,6 +16,7 @@
|
||||||
./services/nginx.nix
|
./services/nginx.nix
|
||||||
./services/synapse.nix
|
./services/synapse.nix
|
||||||
./services/postgres.nix
|
./services/postgres.nix
|
||||||
|
./services/ooye.nix
|
||||||
#./services/mail.nix
|
#./services/mail.nix
|
||||||
#./services/containers.nix
|
#./services/containers.nix
|
||||||
#./services/redis.nix
|
#./services/redis.nix
|
||||||
|
|
BIN
config/hosts/grondahl/data/secrets/ooye_client_secret
Normal file
BIN
config/hosts/grondahl/data/secrets/ooye_client_secret
Normal file
Binary file not shown.
BIN
config/hosts/grondahl/data/secrets/ooye_token
Normal file
BIN
config/hosts/grondahl/data/secrets/ooye_token
Normal file
Binary file not shown.
Binary file not shown.
|
@ -1,6 +1,11 @@
|
||||||
{
|
{
|
||||||
imports = [ ../../../common/services/nginx.nix ];
|
imports = [ ../../../common/services/nginx.nix ];
|
||||||
services.nginx.virtualHosts = {
|
services.nginx.virtualHosts = {
|
||||||
|
"ooye.anarkafem.dev" = {
|
||||||
|
enableACME = true;
|
||||||
|
forceSSL = true;
|
||||||
|
locations."/".proxyPass = "http://127.0.0.1:6693/";
|
||||||
|
};
|
||||||
"anarkafem.dev" = {
|
"anarkafem.dev" = {
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
|
|
1
config/hosts/grondahl/services/ooye
Submodule
1
config/hosts/grondahl/services/ooye
Submodule
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit 11cc65efa2909bdc7e3e978bf1f56f6d141bf82a
|
16
config/hosts/grondahl/services/ooye.nix
Normal file
16
config/hosts/grondahl/services/ooye.nix
Normal 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;
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue