impermanence: add matrix-appservice-discord

This commit is contained in:
chayleaf 2024-06-11 03:01:20 +07:00
parent 9bb6a87b92
commit f0c596aaf1
Signed by: chayleaf
GPG key ID: 78171AD46227E68E

View file

@ -95,6 +95,8 @@ in {
{ directory = /var/lib/hydra; user = "hydra"; group = "hydra"; mode = "0755"; } { directory = /var/lib/hydra; user = "hydra"; group = "hydra"; mode = "0755"; }
] ++ lib.optionals config.services.jellyfin.enable [ ] ++ lib.optionals config.services.jellyfin.enable [
{ directory = /var/lib/jellyfin; user = "jellyfin"; group = "jellyfin"; mode = "0750"; } { directory = /var/lib/jellyfin; user = "jellyfin"; group = "jellyfin"; mode = "0750"; }
] ++ lib.optionals config.services.matrix-appservice-discord.enable [
{ directory = /var/lib/private/matrix-appservice-discord; mode = "0750"; defaultPerms.mode = "0700"; }
] ++ lib.optionals config.services.matrix-synapse.enable [ ] ++ lib.optionals config.services.matrix-synapse.enable [
{ directory = /var/lib/matrix-synapse; user = "matrix-synapse"; group = "matrix-synapse"; mode = "0700"; } { directory = /var/lib/matrix-synapse; user = "matrix-synapse"; group = "matrix-synapse"; mode = "0700"; }
] ++ lib.optionals (config.services.maubot.enable or false) [ ] ++ lib.optionals (config.services.maubot.enable or false) [