server/maubot: move impermanence config to impermanence module
This commit is contained in:
parent
3250edc21c
commit
9e11d15be9
|
@ -6,9 +6,6 @@
|
|||
let
|
||||
cfg = config.server;
|
||||
in {
|
||||
impermanence.directories = [
|
||||
{ directory = /var/lib/maubot; user = "maubot"; group = "maubot"; mode = "0755"; }
|
||||
];
|
||||
services.nginx.virtualHosts."matrix.${cfg.domainName}".locations = let
|
||||
inherit (config.services.maubot) settings;
|
||||
in {
|
||||
|
|
|
@ -93,6 +93,8 @@ in {
|
|||
{ directory = /var/lib/hydra; user = "hydra"; group = "hydra"; mode = "0755"; }
|
||||
] ++ lib.optionals config.services.matrix-synapse.enable [
|
||||
{ directory = /var/lib/matrix-synapse; user = "matrix-synapse"; group = "matrix-synapse"; mode = "0700"; }
|
||||
] ++ lib.optionals config.services.maubot.enable [
|
||||
{ directory = /var/lib/maubot; user = "maubot"; group = "maubot"; mode = "0750"; }
|
||||
] ++ lib.optionals config.services.monero.enable [
|
||||
{ directory = config.services.monero.dataDir; user = "monero"; group = "monero"; mode = "0750"; }
|
||||
] ++ lib.optionals config.services.mullvad-vpn.enable [
|
||||
|
|
Loading…
Reference in a new issue