nixos/machines/Sheol/configuration.nix

29 lines
538 B
Nix
Raw Normal View History

2024-11-15 21:58:10 +01:00
{...}: {
services = {
avahi = {
enable = true;
openFirewall = true;
publish = {
enable = true;
workstation = true;
userServices = true;
};
};
cron.enable = false;
};
# udp5353 1024-65535
networking.firewall = let
range = {
from = 1024;
to = 65535;
};
in {
allowedUDPPorts = [ 5353 ];
allowedUDPPortRanges = [ range ];
allowedTCPPortRanges = [ range ];
};
networking.dhcpcd.extraConfig = "noarp";
system.stateVersion = "24.05";
}