mailserver: update to follow nixpkgs
This commit is contained in:
parent
09634f4530
commit
3bef4eb5bd
1 changed files with 7 additions and 4 deletions
|
|
@ -14,7 +14,7 @@ in
|
||||||
builtins.fetchGit {
|
builtins.fetchGit {
|
||||||
url = "https://gitlab.com/simple-nixos-mailserver/nixos-mailserver.git";
|
url = "https://gitlab.com/simple-nixos-mailserver/nixos-mailserver.git";
|
||||||
ref = "master";
|
ref = "master";
|
||||||
rev = "5965fae920b6b97f39f94bdb6195631e274c93a5";
|
rev = "7d433bf89882f61621f95082e90a4ab91eb0bdd3";
|
||||||
}
|
}
|
||||||
+ "/default.nix"
|
+ "/default.nix"
|
||||||
)
|
)
|
||||||
|
|
@ -71,10 +71,10 @@ in
|
||||||
imapSync = lib.mkOption {
|
imapSync = lib.mkOption {
|
||||||
description = ''
|
description = ''
|
||||||
Synchronize one or more email providers through IMAP
|
Synchronize one or more email providers through IMAP
|
||||||
to your dovecot2 instance.
|
to your dovecot instance.
|
||||||
|
|
||||||
This allows you to backup that email provider
|
This allows you to backup that email provider
|
||||||
and centralize your accounts in this dovecot2 instance.
|
and centralize your accounts in this dovecot instance.
|
||||||
'';
|
'';
|
||||||
default = null;
|
default = null;
|
||||||
type = lib.types.nullOr (
|
type = lib.types.nullOr (
|
||||||
|
|
@ -410,9 +410,12 @@ in
|
||||||
|
|
||||||
localDnsResolver = false;
|
localDnsResolver = false;
|
||||||
|
|
||||||
certificateScheme = "acme-nginx";
|
|
||||||
enableImapSsl = true;
|
enableImapSsl = true;
|
||||||
enableSubmissionSsl = true;
|
enableSubmissionSsl = true;
|
||||||
|
x509 = {
|
||||||
|
certificateFile = cfg.ssl.paths.cert;
|
||||||
|
privateKeyFile = cfg.ssl.paths.key;
|
||||||
|
};
|
||||||
|
|
||||||
# Using / is needed for iOS mail.
|
# Using / is needed for iOS mail.
|
||||||
# Both following options are used to organize subfolders in subdirectories.
|
# Both following options are used to organize subfolders in subdirectories.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue