X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=modules%2Fprivate%2Fwebsites%2Ftools%2Fmail%2Fdefault.nix;h=634269490b908eb7b35febff418e665ec766f9bc;hb=49f7e9a4ba8ee60b47ea06bee44332648d3a8831;hp=ea0a27fc7079f587647bceb3efa160fafc7b7997;hpb=afcc5de071dfffdc507995d1845372ba40dc1dc2;p=perso%2FImmae%2FConfig%2FNix.git diff --git a/modules/private/websites/tools/mail/default.nix b/modules/private/websites/tools/mail/default.nix index ea0a27f..6342694 100644 --- a/modules/private/websites/tools/mail/default.nix +++ b/modules/private/websites/tools/mail/default.nix @@ -1,8 +1,8 @@ -{ lib, pkgs, config, myconfig, ... }: +{ lib, pkgs, config, ... }: let roundcubemail = pkgs.callPackage ./roundcubemail.nix { inherit (pkgs.webapps) roundcubemail roundcubemail-plugins roundcubemail-skins; - env = myconfig.env.tools.roundcubemail; + env = config.myEnv.tools.roundcubemail; }; rainloop = pkgs.callPackage ./rainloop.nix {}; cfg = config.myServices.websites.tools.email; @@ -17,6 +17,10 @@ in ]; config = lib.mkIf cfg.enable { + services.duplyBackup.profiles.mail.excludeFile = '' + + ${rainloop.varDir} + + ${roundcubemail.varDir} + ''; secrets.keys = roundcubemail.keys; services.websites.env.tools.modules =