Setup mail server and restructure some things
This commit is contained in:
parent
4c382e629d
commit
ba93d164cf
90 changed files with 512 additions and 66 deletions
29
config/hosts/web-public-2/configuration.nix
Normal file
29
config/hosts/web-public-2/configuration.nix
Normal file
|
@ -0,0 +1,29 @@
|
|||
{ ... }:
|
||||
{
|
||||
boot.loader.grub = {
|
||||
enable = true;
|
||||
device = "/dev/vda";
|
||||
};
|
||||
|
||||
networking = {
|
||||
interfaces = {
|
||||
"enp6s18".ipv6.addresses = [{
|
||||
address = "2001:470:5429::96";
|
||||
prefixLength = 64;
|
||||
}];
|
||||
};
|
||||
|
||||
defaultGateway6 = {
|
||||
address = "2001:470:5429::1";
|
||||
interface = "enp6s18";
|
||||
};
|
||||
|
||||
hostName = "web-public-2";
|
||||
firewall = {
|
||||
enable = true;
|
||||
allowedTCPPorts = [ 80 443 5000 8448 ];
|
||||
};
|
||||
};
|
||||
|
||||
system.stateVersion = "23.05";
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue