Enable dnsmasq and mDNS
diff --git a/modules/dnsmasq.nix b/modules/dnsmasq.nix
new file mode 100644
index 0000000..3d3b6bd
--- /dev/null
+++ b/modules/dnsmasq.nix
@@ -0,0 +1,25 @@
+{ config, ... }: {
+ services = {
+ nscd.enableNsncd = true;
+ dnsmasq = {
+ enable = true;
+ servers = [ "1.1.1.1" "1.0.0.1" ];
+ extraConfig = ''
+ local=/local/
+ domain=local
+ expand-hosts
+ '';
+ };
+ avahi = {
+ enable = true;
+ nssmdns = true;
+ ipv4 = true;
+ ipv6 = true;
+ publish = {
+ enable = true;
+ addresses = true;
+ workstation = true;
+ };
+ };
+ };
+}