Compare commits

..

No commits in common. "f317a10095265cd9365697d3759f7208d9a03ff0" and "3f32f2585a5791cdc29e1a07a01e1e3323acd57b" have entirely different histories.

3 changed files with 24 additions and 3 deletions

6
flake.lock generated
View file

@ -740,11 +740,11 @@
]
},
"locked": {
"lastModified": 1779934676,
"narHash": "sha256-wp/K//HuAPN0TureyV342zjoee+vSq64+guX35X7DMU=",
"lastModified": 1777743346,
"narHash": "sha256-gJ0aOSvmr1g06oSKGNDlIvfex7BVVxyP3txQ9gg2fdQ=",
"owner": "genebean",
"repo": "private-flake",
"rev": "7ad20ffceb1b6e48af13b2207241441a2cafa97e",
"rev": "8a0c1d3cf8a4eee614ac8c665dce70794de5f973",
"type": "github"
},
"original": {

View file

@ -180,6 +180,7 @@
additionalModules = [
inputs.cup-collector.nixosModules.default
inputs.private-flake.nixosModules.private.nixnuc
inputs.simple-nixos-mailserver.nixosModule
];
};
# This machines is currently running Ubuntu and

View file

@ -68,6 +68,25 @@ in
];
};
mailserver = {
enable = true;
enableImap = false;
enableImapSsl = false;
fqdn = "mail.${home_domain}";
domains = [
home_domain
];
forwards = {
"${username}@localhost" = "${username}@technicalissues.us";
"root@localhost" = "root@technicalissues.us";
"root@${config.networking.hostName}" = "root@technicalissues.us";
};
stateVersion = 3;
# Use Let's Encrypt certificates from Nginx
certificateScheme = "acme";
};
networking = {
# Open ports in the firewall.
firewall = {
@ -307,6 +326,7 @@ in
"${home_domain}" = {
default = true;
serverAliases = [
"mail.${home_domain}"
"nix-tester.${home_domain}"
];
listen = [