Configuration for my NixOS based systems and Home Manager
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

FIX: networking stuff

+12 -1
+12 -1
networking.nix
··· 12 12 networkConfig.DHCP = "yes"; 13 13 linkConfig.RequiredForOnline = "no"; 14 14 }; 15 + 16 + networking.tempAddresses = "disabled"; 17 + 15 18 networking.useNetworkd = true; 16 19 # TODO: static IP @ 192.168.1.2 17 20 ··· 23 26 # networking.firewall.allowedUDPPorts = [ ... ]; 24 27 # Or disable the firewall altogether. 25 28 # TODO: allow some ports 26 - networking.firewall.enable = true; 29 + networking.firewall = { 30 + enable = true; 31 + allowPing = true; 32 + allowedUDPPorts = [ ]; 33 + allowedTCPPorts = [ ]; 34 + }; 27 35 28 36 services.avahi = { 29 37 enable = true; 30 38 nssmdns4 = true; 31 39 nssmdns6 = true; 40 + ipv6 = true; 32 41 openFirewall = true; 33 42 publish = { 34 43 enable = true; 35 44 addresses = true; 36 45 workstation = true; 46 + userServices = true; 47 + domain = true; 37 48 }; 38 49 }; 39 50