services/matrix: drop synapse-admin
This commit is contained in:
parent
97136a9663
commit
1e71d7fc3e
|
@ -77,11 +77,11 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
sops.secrets."wireguard/reimu-aston/private-key" = {
|
sops.secrets."wireguard/reimu-aston/private-key" = {
|
||||||
sopsFile = config.sops.secretFiles.get "hosts/flandre-m5p.yaml";
|
sopsFile = config.sops.secretFiles.host;
|
||||||
};
|
};
|
||||||
|
|
||||||
sops.secrets."wireguard/reimu-aston/preshared-key" = {
|
sops.secrets."wireguard/reimu-aston/preshared-key" = {
|
||||||
sopsFile = config.sops.secretFiles.get "hosts/flandre-m5p.yaml";
|
sopsFile = config.sops.secretFiles.host;
|
||||||
};
|
};
|
||||||
|
|
||||||
networking.wireguard = {
|
networking.wireguard = {
|
||||||
|
|
|
@ -30,11 +30,11 @@ in
|
||||||
};
|
};
|
||||||
|
|
||||||
sops.secrets."synapse/signing-key" = {
|
sops.secrets."synapse/signing-key" = {
|
||||||
sopsFile = config.sops.secretFiles.get "hosts/reisen-lax0.yaml";
|
sopsFile = config.sops.secretFiles.host;
|
||||||
};
|
};
|
||||||
|
|
||||||
sops.secrets."synapse/mautrix-telegram" = {
|
sops.secrets."synapse/mautrix-telegram" = {
|
||||||
sopsFile = config.sops.secretFiles.get "hosts/reisen-lax0.yaml";
|
sopsFile = config.sops.secretFiles.host;
|
||||||
};
|
};
|
||||||
|
|
||||||
systemd.services.matrix-synapse.serviceConfig.LoadCredential = [
|
systemd.services.matrix-synapse.serviceConfig.LoadCredential = [
|
||||||
|
|
|
@ -4,12 +4,12 @@
|
||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
{
|
{
|
||||||
sops.secrets."synapse/signing-key" = {
|
sops.secrets."synapse/signing-key" = {
|
||||||
sopsFile = config.sops.secretFiles.get "hosts/suwako-vie0.yaml";
|
sopsFile = config.sops.secretFiles.host;
|
||||||
owner = config.systemd.services.matrix-synapse.serviceConfig.User;
|
owner = config.systemd.services.matrix-synapse.serviceConfig.User;
|
||||||
};
|
};
|
||||||
|
|
||||||
sops.secrets."synapse/oidc-client-secret" = {
|
sops.secrets."synapse/oidc-client-secret" = {
|
||||||
sopsFile = config.sops.secretFiles.get "hosts/suwako-vie0.yaml";
|
sopsFile = config.sops.secretFiles.host;
|
||||||
owner = config.systemd.services.matrix-synapse.serviceConfig.User;
|
owner = config.systemd.services.matrix-synapse.serviceConfig.User;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -100,11 +100,4 @@
|
||||||
}"
|
}"
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
services.caddy.virtualHosts."synapse-admin.rebmit.moe" = {
|
|
||||||
extraConfig = ''
|
|
||||||
file_server
|
|
||||||
root * "${pkgs.synapse-admin}"
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -25,6 +25,5 @@ dns.lib.toString "rebmit.moe" {
|
||||||
matrix.CNAME = [ "suwako-vie0.rebmit.link." ];
|
matrix.CNAME = [ "suwako-vie0.rebmit.link." ];
|
||||||
miniflux.CNAME = [ "suwako-vie0.rebmit.link." ];
|
miniflux.CNAME = [ "suwako-vie0.rebmit.link." ];
|
||||||
ntfy.CNAME = [ "suwako-vie0.rebmit.link." ];
|
ntfy.CNAME = [ "suwako-vie0.rebmit.link." ];
|
||||||
synapse-admin.CNAME = [ "suwako-vie0.rebmit.link." ];
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue