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
config/hosts/coturn
22
config/hosts/coturn/configuration.nix
Normal file
22
config/hosts/coturn/configuration.nix
Normal file
|
@ -0,0 +1,22 @@
|
|||
{ config, ... }:
|
||||
{
|
||||
boot.loader.grub = {
|
||||
enable = true;
|
||||
device = "/dev/vda";
|
||||
};
|
||||
|
||||
networking = {
|
||||
hostName = "coturn";
|
||||
firewall = {
|
||||
enable = true;
|
||||
allowedTCPPorts = [ 80 3478 5349 ];
|
||||
allowedUDPPorts = [ 3478 5349 ];
|
||||
allowedUDPPortRanges = [{
|
||||
from = config.services.coturn.min-port;
|
||||
to = config.services.coturn.max-port;
|
||||
}];
|
||||
};
|
||||
};
|
||||
|
||||
system.stateVersion = "23.05";
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue