diff options
Diffstat (limited to 'modules/private/websites/tools/mail/default.nix')
-rw-r--r-- | modules/private/websites/tools/mail/default.nix | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/modules/private/websites/tools/mail/default.nix b/modules/private/websites/tools/mail/default.nix index dda2d45..217ef1a 100644 --- a/modules/private/websites/tools/mail/default.nix +++ b/modules/private/websites/tools/mail/default.nix | |||
@@ -4,7 +4,9 @@ let | |||
4 | inherit (pkgs.webapps) roundcubemail roundcubemail-plugins roundcubemail-skins; | 4 | inherit (pkgs.webapps) roundcubemail roundcubemail-plugins roundcubemail-skins; |
5 | env = config.myEnv.tools.roundcubemail; | 5 | env = config.myEnv.tools.roundcubemail; |
6 | }; | 6 | }; |
7 | rainloop = pkgs.callPackage ./rainloop.nix {}; | 7 | rainloop = pkgs.callPackage ./rainloop.nix { |
8 | rainloop = pkgs.rainloop-community; | ||
9 | }; | ||
8 | cfg = config.myServices.websites.tools.email; | 10 | cfg = config.myServices.websites.tools.email; |
9 | pcfg = config.services.phpfpm.pools; | 11 | pcfg = config.services.phpfpm.pools; |
10 | in | 12 | in |
@@ -60,12 +62,17 @@ in | |||
60 | user = "wwwrun"; | 62 | user = "wwwrun"; |
61 | group = "wwwrun"; | 63 | group = "wwwrun"; |
62 | settings = roundcubemail.phpFpm.pool; | 64 | settings = roundcubemail.phpFpm.pool; |
63 | phpOptions = config.services.phpfpm.phpOptions + roundcubemail.phpFpm.phpConfig; | 65 | phpOptions = config.services.phpfpm.phpOptions + '' |
66 | date.timezone = 'CET' | ||
67 | extension=${pkgs.php72Packages.imagick}/lib/php/extensions/imagick.so | ||
68 | ''; | ||
69 | phpPackage = pkgs.php72; | ||
64 | }; | 70 | }; |
65 | services.phpfpm.pools.rainloop = { | 71 | services.phpfpm.pools.rainloop = { |
66 | user = "wwwrun"; | 72 | user = "wwwrun"; |
67 | group = "wwwrun"; | 73 | group = "wwwrun"; |
68 | settings = rainloop.phpFpm.pool; | 74 | settings = rainloop.phpFpm.pool; |
75 | phpPackage = pkgs.php72; | ||
69 | }; | 76 | }; |
70 | system.activationScripts = { | 77 | system.activationScripts = { |
71 | roundcubemail = roundcubemail.activationScript; | 78 | roundcubemail = roundcubemail.activationScript; |