fixed linting
This commit is contained in:
parent
6105d8bc05
commit
0933b2b504
59 changed files with 2843 additions and 2638 deletions
|
@ -97,48 +97,50 @@ in {
|
|||
autoIndexExclude = [ "\\Junk" ];
|
||||
};
|
||||
};
|
||||
services = {
|
||||
|
||||
services.postfix.relayHost = "smtp.ziggozakelijk.nl";
|
||||
services.postfix.relayPort = 587;
|
||||
postfix.relayHost = "smtp.ziggozakelijk.nl";
|
||||
postfix.relayPort = 587;
|
||||
|
||||
services.roundcube = {
|
||||
enable = true;
|
||||
package = pkgs.roundcube.withPlugins
|
||||
(plugins: [ plugins.persistent_login pkgs.v.roundcube-swipe ]);
|
||||
plugins = [
|
||||
"archive"
|
||||
"managesieve"
|
||||
"swipe"
|
||||
# "enigma"
|
||||
# "markasjunk"
|
||||
"persistent_login"
|
||||
];
|
||||
# this is the url of the vhost, not necessarily the same as the fqdn of
|
||||
# the mailserver
|
||||
hostName = "webmail.0x76.dev";
|
||||
extraConfig = ''
|
||||
# starttls needed for authentication, so the fqdn required to match
|
||||
# the certificate
|
||||
$config['smtp_host'] = "tls://${config.mailserver.fqdn}";
|
||||
$config['smtp_user'] = "%u";
|
||||
$config['smtp_pass'] = "%p";
|
||||
|
||||
$config['swipe_actions'] = [
|
||||
'messagelist' => [
|
||||
'left' => 'archive',
|
||||
'right' => 'archive',
|
||||
'down' => 'none'
|
||||
],
|
||||
'contactlist' => [
|
||||
'left' => 'none',
|
||||
'right' => 'none',
|
||||
'down' => 'none'
|
||||
]
|
||||
roundcube = {
|
||||
enable = true;
|
||||
package = pkgs.roundcube.withPlugins
|
||||
(plugins: [ plugins.persistent_login pkgs.v.roundcube-swipe ]);
|
||||
plugins = [
|
||||
"archive"
|
||||
"managesieve"
|
||||
"swipe"
|
||||
# "enigma"
|
||||
# "markasjunk"
|
||||
"persistent_login"
|
||||
];
|
||||
'';
|
||||
};
|
||||
# this is the url of the vhost, not necessarily the same as the fqdn of
|
||||
# the mailserver
|
||||
hostName = "webmail.0x76.dev";
|
||||
extraConfig = ''
|
||||
# starttls needed for authentication, so the fqdn required to match
|
||||
# the certificate
|
||||
$config['smtp_host'] = "tls://${config.mailserver.fqdn}";
|
||||
$config['smtp_user'] = "%u";
|
||||
$config['smtp_pass'] = "%p";
|
||||
|
||||
services.nginx = { enable = true; };
|
||||
$config['swipe_actions'] = [
|
||||
'messagelist' => [
|
||||
'left' => 'archive',
|
||||
'right' => 'archive',
|
||||
'down' => 'none'
|
||||
],
|
||||
'contactlist' => [
|
||||
'left' => 'none',
|
||||
'right' => 'none',
|
||||
'down' => 'none'
|
||||
]
|
||||
];
|
||||
'';
|
||||
};
|
||||
|
||||
nginx = { enable = true; };
|
||||
};
|
||||
|
||||
security.acme.acceptTerms = true;
|
||||
security.acme.defaults.email = "v@0x76.dev";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue