diff options
| author | andromeda <andromeda@lenovo> | 2026-01-06 14:52:34 +0100 |
|---|---|---|
| committer | andromeda <andromeda@lenovo> | 2026-01-06 14:52:34 +0100 |
| commit | c9a5c521dbc7785aa4a6c1f410e547202075c13b (patch) | |
| tree | 4362c945c787bac5d7d1bb63d04d7281bfddf6c8 /modules/nixos/roundcube.nix | |
| parent | 0a7e0c699e2f4fa07fb6dde0080da4eb3ac8f746 (diff) | |
stash
Diffstat (limited to 'modules/nixos/roundcube.nix')
| -rw-r--r-- | modules/nixos/roundcube.nix | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/modules/nixos/roundcube.nix b/modules/nixos/roundcube.nix new file mode 100644 index 0000000..0749af5 --- /dev/null +++ b/modules/nixos/roundcube.nix @@ -0,0 +1,12 @@ +{config, ...}: { + services.roundcube = { + enable = true; + hostName = "webmail.${config.networking.domain}"; + extraConfig = '' + $config['imap_host'] = "ssl://${config.mailserver.fqdn}"; + $config['smtp_host'] = "ssl://${config.mailserver.fqdn}"; + $config['smtp_user'] = "%u"; + $config['smtp_pass'] = "%p"; + ''; + }; +} |
