mirror of
https://git.pvv.ntnu.no/Drift/pvv-nixos-config.git
synced 2026-07-21 20:41:25 +02:00
16 lines
332 B
Nix
16 lines
332 B
Nix
{ config, lib, ... }:
|
|
{
|
|
services.nullmailer = {
|
|
enable = true;
|
|
|
|
config = {
|
|
adminaddr = "root@pvv.ntnu.no";
|
|
defaultdomain = "pvv.ntnu.no";
|
|
defaulthost = "pvv.ntnu.no";
|
|
|
|
me = lib.mkDefault config.networking.fqdn;
|
|
remotes = lib.mkDefault "smtp.pvv.ntnu.no smtp port=587 starttls";
|
|
};
|
|
};
|
|
}
|