nixos-config/hosts/katana/networkd.nix
2024-04-10 03:42:16 -04:00

17 lines
334 B
Nix

{ modulesPath, config, pkgs, lib, self, ... }:
{
networking = {
hostName = "katana"; # Define your hostname.
networkmanager.enable = true; #Enable Network Manager
firewall = {
checkReversePath = "loose";
allowedTCPPorts = [8081];
allowedUDPPorts = [
8081
2053
];
};
};
}