Mail setup for <<> for testing purposes.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mailtngbert/modules/network.nix

20 lines
412 B

{pkgs, lib, ...} : {
networking = {
interfaces.eth0.ipv4.addresses = [
{
address = "172.20.73.42";
prefixLength = 26;
}
];
defaultGateway = "172.20.73.1";
nameservers = [
"172.20.73.8"
"9.9.9.9"
];
hostName = lib.mkDefault "mailtngbert";
useDHCP = false;
interfaces.eth0.useDHCP = false;
firewall.allowedTCPPorts = [ 22 ];
};
}