Skyler Grey | b10f64b | 2023-05-01 21:34:48 +0000 | [diff] [blame] | 1 | { config, ... }: { |
2 | services = { | ||||
3 | nscd.enableNsncd = true; | ||||
4 | dnsmasq = { | ||||
5 | enable = true; | ||||
Skyler Grey | 07c947a | 2023-06-08 14:11:23 +0200 | [diff] [blame] | 6 | settings = { |
Skyler Grey | 8e765c6 | 2023-06-14 22:03:57 +0200 | [diff] [blame^] | 7 | server = [ "1.1.1.1" "1.0.0.1" ]; |
Skyler Grey | 07c947a | 2023-06-08 14:11:23 +0200 | [diff] [blame] | 8 | local = "/local/"; |
9 | domain = "local"; | ||||
10 | expand-hosts = true; | ||||
11 | }; | ||||
Skyler Grey | b10f64b | 2023-05-01 21:34:48 +0000 | [diff] [blame] | 12 | }; |
13 | avahi = { | ||||
14 | enable = true; | ||||
15 | nssmdns = true; | ||||
16 | ipv4 = true; | ||||
17 | ipv6 = true; | ||||
18 | publish = { | ||||
19 | enable = true; | ||||
20 | addresses = true; | ||||
21 | workstation = true; | ||||
22 | }; | ||||
23 | }; | ||||
24 | }; | ||||
25 | } |