1
0

hosts/carbon: Enable mDNS reflection between net-heimnetz and net-iot

This commit is contained in:
clerie 2024-11-12 21:09:45 +01:00
parent 684c5e9ac5
commit 54dc097b44
Signed by: clerie
GPG Key ID: BD9F56480870BAD2
2 changed files with 18 additions and 0 deletions

View File

@ -7,6 +7,7 @@
../../configuration/router ../../configuration/router
./dns.nix ./dns.nix
./mdns.nix
./net-dsl.nix ./net-dsl.nix
./net-gastnetz.nix ./net-gastnetz.nix
./net-heimnetz.nix ./net-heimnetz.nix

17
hosts/carbon/mdns.nix Normal file
View File

@ -0,0 +1,17 @@
{ pkgs, ... }:
{
services.avahi = {
enable = true;
nssmdns4 = true;
allowInterfaces = [
"net-heimnetz"
"net-iot"
];
reflector = true;
};
}