copy nb configuration and modules
This commit is contained in:
parent
1af70a3095
commit
127eab91d5
114 changed files with 9070 additions and 0 deletions
22
utils/modules/roundcube.nix
Normal file
22
utils/modules/roundcube.nix
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
{ pkgs, ... }:
|
||||
let
|
||||
domain = "mail-test.cloonar.com";
|
||||
in
|
||||
{
|
||||
services.roundcube = {
|
||||
enable = true;
|
||||
hostName = "${domain}";
|
||||
extraConfig = ''
|
||||
$config['imap_host'] = 'tls://imap-test.cloonar.com';
|
||||
$config['smtp_server'] = "tls://mail-test.cloonar.com";
|
||||
$config['smtp_user'] = "%u";
|
||||
$config['smtp_pass'] = "%p";
|
||||
'';
|
||||
};
|
||||
|
||||
services.nginx.virtualHosts."${domain}" = {
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
acmeRoot = null;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue