diff --git a/hosts/carbon/configuration.nix b/hosts/carbon/configuration.nix index a993d70..34efa5a 100644 --- a/hosts/carbon/configuration.nix +++ b/hosts/carbon/configuration.nix @@ -7,6 +7,7 @@ ../../configuration/router ./dns.nix + ./mdns.nix ./net-dsl.nix ./net-gastnetz.nix ./net-heimnetz.nix diff --git a/hosts/carbon/mdns.nix b/hosts/carbon/mdns.nix new file mode 100644 index 0000000..35a422b --- /dev/null +++ b/hosts/carbon/mdns.nix @@ -0,0 +1,17 @@ +{ pkgs, ... }: + +{ + + services.avahi = { + enable = true; + nssmdns4 = true; + + allowInterfaces = [ + "net-heimnetz" + "net-iot" + ]; + + reflector = true; + }; + +}