File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 269269
270270 router IN A 10.42.1.1
271271 supervisor IN A 10.42.1.2
272+ dexter IN A 10.42.1.10
272273 '' ;
273274 } ;
274275
Original file line number Diff line number Diff line change 107107 }
108108 {
109109 name = "domain-name-servers" ;
110- data = "10.42.1.1 " ;
110+ data = "10.42.1.2 " ;
111111 }
112112 ] ;
113113 }
121121 }
122122 ] ;
123123 reservations = [
124+ {
125+ # supervisor
126+ "hw-address" = "00:00:0a:64:01:02" ;
127+ "ip-address" = "10.100.1.2" ;
128+ }
124129 {
125130 # mandark / NAS / 10gbe
126131 "hw-address" = "e4:1d:53:37:56:41" ;
127132 "ip-address" = "10.100.10.1" ;
128133 }
129- {
130- # mandark / NAS
131- "hw-address" = "90:09:d0:1f:68:35" ;
132- "ip-address" = "10.100.10.2" ;
133- }
134134 ] ;
135135 "option-data" = [
136136 {
139139 }
140140 {
141141 name = "domain-name-servers" ;
142- data = "10.100.1.1 " ;
142+ data = "10.100.1.2 " ;
143143 }
144144 ] ;
145145 }
152152 pool = "10.200.100.100 - 10.200.100.200" ;
153153 }
154154 ] ;
155+ reservations = [
156+ {
157+ # supervisor
158+ "hw-address" = "00:00:0a:c8:01:02" ;
159+ "ip-address" = "10.200.1.2" ;
160+ }
161+ ] ;
155162 "option-data" = [
156163 {
157164 name = "routers" ;
158165 data = "10.200.1.1" ;
159166 }
160167 {
161168 name = "domain-name-servers" ;
162- data = "10.200.1.1 " ;
169+ data = "10.200.1.2 " ;
163170 }
164171 ] ;
165172 }
Original file line number Diff line number Diff line change 55 service = {
66 restart = "always" ;
77 container_name = "adguard-home" ;
8+ # by default DNS is set to adguard in docker which causes internal loopback and resolving problems
9+ # that's why we need to force it to actual gateway
10+ dns = [ "10.42.1.1" ] ;
811 image = "ghcr.io/deedee-ops/adguardhome:v0.107.51" ;
912 ports = [
1013 "53:53/tcp"
Original file line number Diff line number Diff line change 55 service = {
66 restart = "always" ;
77 container_name = "nginx-proxy-manager" ;
8+ # by default DNS is set to adguard in docker which causes internal loopback and resolving problems
9+ # that's why we need to force it to actual gateway
10+ dns = [ "10.42.1.1" ] ;
811 image = "ghcr.io/deedee-ops/nginx-proxy-manager:2.11.2" ;
912 ports = [
1013 "80:80"
Original file line number Diff line number Diff line change 55 service = {
66 restart = "always" ;
77 container_name = "omada-controller" ;
8+ # by default DNS is set to adguard in docker which causes internal loopback and resolving problems
9+ # that's why we need to force it to actual gateway
10+ dns = [ "10.42.1.1" ] ;
811 image = "ghcr.io/deedee-ops/omada-controller:5.13-chromium@sha256:6686bfa642800b4ba32afc50d9b5ca9453cc5b5046fb1082ffc64a982a8256c1" ;
912 networks = {
1013 # uncomment when bootstrapping omada switch from scratch
Original file line number Diff line number Diff line change 44 hostName = "supervisor" ;
55 networkmanager . enable = true ;
66 enableIPv6 = false ;
7+
8+ # nixos firewall adds unnecessary mess
9+ firewall . enable = false ;
710 } ;
811}
912
You can’t perform that action at this time.
0 commit comments