{ hostname, ... }: { networking = { hostName = hostname; networkmanager.enable = true; networkmanager.wifi.backend = "iwd"; networkmanager.ensureProfiles.profiles = { "Outskirt Stable" = { connection = { id = "Outskirt Stable"; type = "wifi"; }; wifi = { ssid = "Outskirt Stable"; mode = "infrastructure"; }; wifi-security = { key-mgmt = "wpa-psk"; psk = "SidonPhlegm"; }; }; }; firewall = { enable = true; # Ports used by Local Send allowedTCPPorts = [ 53317 8001 8002 8003 8004 2049 111 ]; allowedUDPPorts = [ 53317 8001 8002 8003 8004 2049 111 ]; extraCommands = " iptables -I nixos-fw 1 -i br+ -j ACCEPT "; extraStopCommands = " iptables -D nixos-fw -i br+ -j ACCEPT "; }; hosts = { "127.0.0.1" = [ "localhost" "host.docker.internal" "runcats.test" "dev.runcats.test" "landing.runcats.test" "api.runcats.test" "mail.runcats.test" "kibana.runcats.test" "img.runcats.test" "docs.runcats.test" ]; "192.168.2.158" = [ "comms.scarif.space" "droid.scarif.space" "holocron.scarif.space" "labs.scarif.space" "library.scarif.space" "net.scarif.space" "office.scarif.space" "radio.scarif.space" "rec.scarif.space" "scarif.space" ]; }; }; }