blob: 3d3b6bd6b9c22f5c446c9518f7c35ab391482718 [file] [log] [blame]
Skyler Greyb10f64b2023-05-01 21:34:48 +00001{ config, ... }: {
2 services = {
3 nscd.enableNsncd = true;
4 dnsmasq = {
5 enable = true;
6 servers = [ "1.1.1.1" "1.0.0.1" ];
7 extraConfig = ''
8 local=/local/
9 domain=local
10 expand-hosts
11 '';
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}