use stura addresses on mailserver
This commit is contained in:
parent
2a0ac5eb71
commit
ef34f9f0fc
1 changed files with 3 additions and 13 deletions
|
|
@ -45,24 +45,15 @@ in
|
||||||
# boot.loader.grub.efiInstallAsRemovable = true;
|
# boot.loader.grub.efiInstallAsRemovable = true;
|
||||||
|
|
||||||
networking.hostName = "mail";
|
networking.hostName = "mail";
|
||||||
networking.extraHosts = ''
|
|
||||||
127.0.0.1 auth.test.htw.stura-dresden.de
|
|
||||||
'';
|
|
||||||
networking.domain = "test.htw.stura-dresden.de";
|
networking.domain = "test.htw.stura-dresden.de";
|
||||||
networking.interfaces.ens18.ipv4.addresses = [
|
networking.interfaces.ens18.ipv4.addresses = [
|
||||||
{
|
{
|
||||||
address = "167.235.225.23";
|
address = "141.56.51.95";
|
||||||
prefixLength = 32;
|
prefixLength = 24;
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
networking.interfaces.ens18.ipv6.addresses = [
|
networking.defaultGateway.address = "141.56.51.254";
|
||||||
{
|
|
||||||
address = "2a01:4f8:c012:6bd7::1";
|
|
||||||
prefixLength = 32;
|
|
||||||
}
|
|
||||||
];
|
|
||||||
networking.defaultGateway.address = "172.31.1.1";
|
|
||||||
networking.nameservers = [
|
networking.nameservers = [
|
||||||
"9.9.9.9"
|
"9.9.9.9"
|
||||||
"1.1.1.1"
|
"1.1.1.1"
|
||||||
|
|
@ -185,7 +176,6 @@ in
|
||||||
submissionsOptions = submissionOptions;
|
submissionsOptions = submissionOptions;
|
||||||
};
|
};
|
||||||
|
|
||||||
# virtualisation.docker.enable = true;
|
|
||||||
security.acme.acceptTerms = true;
|
security.acme.acceptTerms = true;
|
||||||
security.acme.defaults.email = "cert@stura.htw-dresden.de";
|
security.acme.defaults.email = "cert@stura.htw-dresden.de";
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue