diff options
author | polwex <polwex@sortug.com> | 2025-07-27 03:34:16 +0700 |
---|---|---|
committer | polwex <polwex@sortug.com> | 2025-07-27 03:34:16 +0700 |
commit | 2339fba37290774336fa517a417330e3ff788ba5 (patch) | |
tree | d4bf9d531538af6d0e4718e75ee38a350ade671f /hosts/cloud/span/mail.nix | |
parent | 7c959ef5c9c689c06aa5fe48110cdf6d780a438c (diff) |
spanch
Diffstat (limited to 'hosts/cloud/span/mail.nix')
-rw-r--r-- | hosts/cloud/span/mail.nix | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/hosts/cloud/span/mail.nix b/hosts/cloud/span/mail.nix index 9cc44a7..69be6a9 100644 --- a/hosts/cloud/span/mail.nix +++ b/hosts/cloud/span/mail.nix @@ -3,17 +3,6 @@ pkgs, ... }: { - imports = [ - (builtins.fetchTarball { - url = "https://gitlab.com/simple-nixos-mailserver/nixos-mailserver/-/archive/nixos-23.11/nixos-mailserver-nixos-23.11.tar.gz"; - # To get the sha256 of the nixos-mailserver tarball, we can use the nix-prefetch-url command: - # release="nixos-23.05"; nix-prefetch-url "https://gitlab.com/simple-nixos-mailserver/nixos-mailserver/-/archive/${release}/nixos-mailserver-${release}.tar.gz" --unpack - - sha256 = "122vm4n3gkvlkqmlskiq749bhwfd0r71v6vcmg1bbyg4998brvx8"; - }) - ]; - - services.dovecot2.sieve.extensions = ["fileinto"]; mailserver = { enable = true; fqdn = "mail.spandrell.ch"; @@ -32,7 +21,7 @@ hashedPasswordFile = "/home/span/mail.key"; }; "lol@spandrell.ch" = { - hashedPasswordFile = "/home/span/mail2.key"; + hashedPasswordFile = "/home/span/mail.key"; }; "sub@spandrell.ch" = { hashedPasswordFile = "/home/span/mail.key"; @@ -52,8 +41,6 @@ # down nginx and opens port 80. certificateScheme = "acme-nginx"; }; - security.acme.acceptTerms = true; - security.acme.defaults.email = "security@spandrell.ch"; services.roundcube = { enable = true; # this is the url of the vhost, not necessarily the same as the fqdn of @@ -67,5 +54,4 @@ $config['smtp_pass'] = "%p"; ''; }; - services.nginx.enable = true; } |