diff options
Diffstat (limited to 'modules/private/websites/tools/mail/roundcubemail.nix')
-rw-r--r-- | modules/private/websites/tools/mail/roundcubemail.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/private/websites/tools/mail/roundcubemail.nix b/modules/private/websites/tools/mail/roundcubemail.nix index bb7dee9..7d8e733 100644 --- a/modules/private/websites/tools/mail/roundcubemail.nix +++ b/modules/private/websites/tools/mail/roundcubemail.nix | |||
@@ -1,4 +1,4 @@ | |||
1 | { env, roundcubemail, apacheHttpd }: | 1 | { env, roundcubemail, apacheHttpd, config }: |
2 | rec { | 2 | rec { |
3 | varDir = "/var/lib/roundcubemail"; | 3 | varDir = "/var/lib/roundcubemail"; |
4 | activationScript = { | 4 | activationScript = { |
@@ -75,7 +75,7 @@ rec { | |||
75 | $config['mime_types'] = '${apacheHttpd}/conf/mime.types'; | 75 | $config['mime_types'] = '${apacheHttpd}/conf/mime.types'; |
76 | ''; | 76 | ''; |
77 | }]; | 77 | }]; |
78 | webRoot = (roundcubemail.override { roundcube_config = "/var/secrets/webapps/tools-roundcube"; }).withPlugins (p: [ p.automatic_addressbook p.carddav p.contextmenu p.contextmenu_folder p.html5_notifier p.ident_switch p.message_highlight p.thunderbird_labels ]); | 78 | webRoot = (roundcubemail.override { roundcube_config = config.secrets.fullPaths."webapps/tools-roundcube"; }).withPlugins (p: [ p.automatic_addressbook p.carddav p.contextmenu p.contextmenu_folder p.html5_notifier p.ident_switch p.message_highlight p.thunderbird_labels ]); |
79 | apache = rec { | 79 | apache = rec { |
80 | user = "wwwrun"; | 80 | user = "wwwrun"; |
81 | group = "wwwrun"; | 81 | group = "wwwrun"; |
@@ -99,7 +99,7 @@ rec { | |||
99 | phpFpm = rec { | 99 | phpFpm = rec { |
100 | serviceDeps = [ "postgresql.service" ]; | 100 | serviceDeps = [ "postgresql.service" ]; |
101 | basedir = builtins.concatStringsSep ":" ( | 101 | basedir = builtins.concatStringsSep ":" ( |
102 | [ webRoot "/var/secrets/webapps/tools-roundcube" varDir ] | 102 | [ webRoot config.secrets.fullPaths."webapps/tools-roundcube" varDir ] |
103 | ++ webRoot.plugins | 103 | ++ webRoot.plugins |
104 | ++ webRoot.skins); | 104 | ++ webRoot.skins); |
105 | pool = { | 105 | pool = { |