This commit is contained in:
Charlotte 🦝 Delenk 2023-04-18 19:30:26 +01:00
parent b56eecc796
commit 3689d4dd67
Signed by: darkkirb
GPG key ID: AB2BD8DAF2E37122
4 changed files with 4 additions and 4 deletions

View file

@ -8,7 +8,7 @@
}:
with lib; let
dataDir = "/var/lib/mautrix-discord";
registrationFile = config.secrets."services/mautrix/discord.yaml".path;
registrationFile = config.sops.secrets."services/mautrix/discord.yaml".path;
cfg = config.services.mautrix-discord;
settingsFormat = pkgs.formats.yaml {};
settingsFileUnsubstituted = settingsFormat.generate "mautrix-discord-config-unsubstituted.yaml" cfg.settings;

View file

@ -6,7 +6,7 @@
}:
with lib; let
dataDir = "/var/lib/mautrix-signal";
registrationFile = config.secrets."services/imautrix/signal.yaml".path;
registrationFile = config.sops.secrets."services/mautrix/signal.yaml".path;
cfg = config.services.mautrix-signal;
settingsFormat = pkgs.formats.yaml {};
settingsFileUnsubstituted = settingsFormat.generate "mautrix-signal-config-unsubstituted.yaml" cfg.settings;

View file

@ -6,7 +6,7 @@
}:
with lib; let
dataDir = "/var/lib/mautrix-telegram";
registrationFile = config.secrets."services/mautrix/telegram.yaml".path;
registrationFile = config.sops.secrets."services/mautrix/telegram.yaml".path;
cfg = config.services.mautrix-telegram-2;
settingsFormat = pkgs.formats.yaml {};
settingsFileUnsubstituted = settingsFormat.generate "mautrix-telegram-config-unsubstituted.yaml" cfg.settings;

View file

@ -8,7 +8,7 @@
}:
with lib; let
dataDir = "/var/lib/mautrix-whatsapp";
registrationFile = config.secrets."services/mautrix/whatsapp.yaml".path;
registrationFile = config.sops.secrets."services/mautrix/whatsapp.yaml".path;
cfg = config.services.mautrix-whatsapp;
settingsFormat = pkgs.formats.yaml {};
settingsFileUnsubstituted = settingsFormat.generate "mautrix-whatsapp-config-unsubstituted.yaml" cfg.settings;