grace/dots
dotfiles/nix configs
git clone https://git.gae.moe/grace/dots
c1be8e3
main
1{ ...} : 2 3let 4interface = "wlp3s0" ; 5in 6{ 7networking . networkmanager = { 8enable = true ; 9ensureProfiles . profiles . hotspot = { 10connection = { 11id = "PAL4.0" ; 12type = "wifi" ; 13interface-name = interface ; 14autoconnect = true ; 15}; 16wifi = { 17mode = "ap" ; 18ssid = "PAL4.0" ; 19band = "bg" ; 20}; 21wifi-security = { 22key-mgmt = "wpa-psk" ; 23psk = "11111111" ; 24}; 25ipv4 = { 26method = "shared" ; 27address1 = "10.42.0.1/24" ; 28}; 29ipv6 . method = "disabled" ; 30}; 31}; 32 33networking . firewall . interfaces .${ interface } = { 34allowedUDPPorts = [ 3553 3667 37]; 38allowedTCPPorts = [ 53 ]; 39}; 40}