{ boot.kernelParams = [ "cfg80211.ieee80211_regdom=RU" ]; networking = { firewall = { allowedTCPPorts = [ 53 ]; allowedUDPPorts = [ 53 67 ]; }; networkmanager.ensureProfiles.profiles = { dhcp-ethernet.ethernet.cloned-mac-address = "0C:0E:76:A6:E6:B6"; home-wifi = { ipv4 = { addresses = "10.1.0.1/16"; method = "shared"; }; wifi = { band = "a"; channel = 157; channel-width = 80; mode = "ap"; }; wifi-security = { group = "ccmp"; pairwise = "ccmp"; proto = "rsn"; }; }; }; }; }