blob: 3366cfbb57a94d4a1ee55f7b340e43f853ec35ca [file] [log] [blame]
Skyler Greyb10f64b2023-05-01 21:34:48 +00001{ config, ... }: {
2 services = {
3 nscd.enableNsncd = true;
4 dnsmasq = {
5 enable = true;
Skyler Grey07c947a2023-06-08 14:11:23 +02006 settings = {
Skyler Grey8e765c62023-06-14 22:03:57 +02007 server = [ "1.1.1.1" "1.0.0.1" ];
Skyler Grey07c947a2023-06-08 14:11:23 +02008 local = "/local/";
9 domain = "local";
10 expand-hosts = true;
11 };
Skyler Greyb10f64b2023-05-01 21:34:48 +000012 };
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}