hosts: move matrix to hades

This commit is contained in:
Antoine Martin 2022-06-12 20:17:08 +02:00
parent eab8a279a1
commit cc1b9f4794
6 changed files with 10 additions and 10 deletions

View file

@ -57,6 +57,11 @@ in {
my.services = { my.services = {
fail2ban.enable = true; fail2ban.enable = true;
matrix = {
enable = true;
secretConfigFile = config.age.secrets."matrix-synapse/secret-config".path;
};
miniflux = { miniflux = {
enable = true; enable = true;
adminCredentialsFile = config.age.secrets."miniflux/admin-credentials".path; adminCredentialsFile = config.age.secrets."miniflux/admin-credentials".path;

View file

@ -15,6 +15,10 @@
lib.mapAttrs toSecret { lib.mapAttrs toSecret {
"gandi/api-key" = {}; "gandi/api-key" = {};
"matrix-synapse/secret-config" = {
owner = "matrix-synapse";
};
"miniflux/admin-credentials" = {}; "miniflux/admin-credentials" = {};
"restic-backup/hades-credentials" = {}; "restic-backup/hades-credentials" = {};

View file

@ -96,11 +96,6 @@ in {
port = 8083; port = 8083;
}; };
matrix = {
enable = true;
secretConfigFile = config.age.secrets."matrix-synapse/secret-config".path;
};
monitoring = { monitoring = {
enable = true; enable = true;
domain = "monitoring.${config.networking.domain}"; domain = "monitoring.${config.networking.domain}";

View file

@ -17,10 +17,6 @@
"lohr/shared-secret" = {}; "lohr/shared-secret" = {};
"matrix-synapse/secret-config" = {
owner = "matrix-synapse";
};
"nextcloud/admin-pass" = { "nextcloud/admin-pass" = {
owner = "nextcloud"; owner = "nextcloud";
}; };

View file

@ -15,7 +15,7 @@ in {
"lohr/shared-secret.age".publicKeys = [alarsyo poseidon]; "lohr/shared-secret.age".publicKeys = [alarsyo poseidon];
"matrix-synapse/secret-config.age".publicKeys = [alarsyo poseidon]; "matrix-synapse/secret-config.age".publicKeys = [alarsyo hades];
"miniflux/admin-credentials.age".publicKeys = [alarsyo hades]; "miniflux/admin-credentials.age".publicKeys = [alarsyo hades];