From e6e91b775a7f38460a9a6a9d2d0c4989110c2223 Mon Sep 17 00:00:00 2001 From: Thomas Preisner Date: Sat, 28 Dec 2024 14:55:55 +0100 Subject: [PATCH] Disable roundcube and rspamd webui by default --- mailsystem/roundcube.nix | 2 +- mailsystem/rspamd.nix | 2 +- tests/common/server.nix | 3 --- 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/mailsystem/roundcube.nix b/mailsystem/roundcube.nix index bebffaf..1960785 100644 --- a/mailsystem/roundcube.nix +++ b/mailsystem/roundcube.nix @@ -11,7 +11,7 @@ in { options.mailsystem.roundcube = { enable = lib.mkOption { type = lib.types.bool; - default = true; + default = false; description = "Whether to enable roundcube in order to provide a webmail interface"; }; hostName = lib.mkOption { diff --git a/mailsystem/rspamd.nix b/mailsystem/rspamd.nix index 55079ed..093be1e 100644 --- a/mailsystem/rspamd.nix +++ b/mailsystem/rspamd.nix @@ -28,7 +28,7 @@ in { options.mailsystem.rspamd.webUi = { enable = lib.mkOption { type = lib.types.bool; - default = true; + default = false; description = "Whether to enable the rspamd webui on `https://${config.mailsystem.fqdn}/rspamd`"; }; diff --git a/tests/common/server.nix b/tests/common/server.nix index 9a47284..ff60d5d 100644 --- a/tests/common/server.nix +++ b/tests/common/server.nix @@ -4,9 +4,6 @@ virtualisation.memorySize = 1024; mailsystem = { enable = true; - - roundcube.enable = false; - rspamd.webUi.enable = false; certificateScheme = "selfsigned"; }; };