NixOS-Configuration/networking.nix

28 lines
395 B
Nix
Raw Normal View History

2023-08-27 23:14:35 +00:00
{ ... }:
{
networking = {
hostName = "nixos";
networkmanager = {
enable = true;
};
firewall = {
allowedTCPPortRanges = [
# GSConnect
{ from = 1714; to = 1764; }
];
allowedUDPPortRanges = [
# GSConnect
{ from = 1714; to = 1764; }
];
};
};
2023-08-29 03:31:32 +00:00
services.avahi = {
enable = true;
nssmdns = true;
};
2023-08-27 23:14:35 +00:00
}