Remilia: updates

services: add znc and some random changes
networking: random changes
mailserver: add masti@weirdnatto.in
and some other misc changes
This commit is contained in:
2022-03-09 10:53:07 +05:30
parent c27c8c3c56
commit 53b18802dd
5 changed files with 141 additions and 26 deletions

View File

@@ -1,13 +1,20 @@
{ config, pkgs, ... }:
{ config, pkgs, lib, ... }:
{
mailserver = {
mailserver = with lib; rec {
enable = true;
fqdn = "mail.weirdnatto.in";
domains = [ "weirdnatto.in" ];
sendingFqdn = fqdn;
domains = singleton "weirdnatto.in";
certificateDomains = singleton "mail.weirdnatto.in";
certificateScheme = 2;
loginAccounts = {
"natto@weirdnatto.in" = {
hashedPasswordFile = "/var/secrets/natto@weirdnatto.in.key";
aliases = ["@weirdnatto.in"];
aliases = [ "@weirdnatto.in" ];
};
"masti@weirdnatto.in" = {
hashedPasswordFile = "/var/secrets/masti@weirdnatto.in.key";
aliases = [ "@weirdnatto.in" ];
};
};
enablePop3 = false;