diff --git a/home/yt/ytnix.nix b/home/yt/ytnix.nix index 8afd45e..c08d0b8 100644 --- a/home/yt/ytnix.nix +++ b/home/yt/ytnix.nix @@ -106,6 +106,7 @@ minio-client nil keepassxc + lua-language-server ]; home.sessionVariables = { diff --git a/hosts/chunk/default.nix b/hosts/chunk/default.nix index 2e4c960..6f73eaf 100644 --- a/hosts/chunk/default.nix +++ b/hosts/chunk/default.nix @@ -187,4 +187,5 @@ enable = false; dataDir = "/opt/karakeep"; }; + my.roundcube.enable = true; } diff --git a/hosts/chunk/rclone.nix b/hosts/chunk/rclone.nix index beb352f..1c253f2 100644 --- a/hosts/chunk/rclone.nix +++ b/hosts/chunk/rclone.nix @@ -30,6 +30,7 @@ let ${remote} ${mount} ''; ExecStop = "${lib.getExe' pkgs.fuse "fusermount"} -zu ${mount}"; + Restart = "on-failure"; }; in { diff --git a/modules/roundcube.nix b/modules/roundcube.nix index 63b14c5..7dcfb9d 100644 --- a/modules/roundcube.nix +++ b/modules/roundcube.nix @@ -31,6 +31,7 @@ in "contextmenu" "custom_from" "thunderbird_labels" + "managesieve" ]; dicts = with pkgs.aspellDicts; [ en ]; extraConfig = '' @@ -38,6 +39,8 @@ in $config['smtp_host'] = "ssl://smtp.migadu.com:465"; $config['smtp_user'] = "%u"; $config['smtp_pass'] = "%p"; + $config['managesieve_host'] = "tls://imap.migadu.com"; + $config['managesieve_port'] = 4190; ''; }; @@ -48,6 +51,7 @@ in services.caddy.virtualHosts."mail.cy7.sh".extraConfig = '' import common + import authelia root ${roundcube.package} php_fastcgi unix/${fpm.socket} file_server