Files
nix-config/modules/nixos/base/networking/avahi.nix
2025-09-18 22:59:22 +08:00

16 lines
355 B
Nix

{
# Network discovery on a local network, mDNS
# With this enabled, you can access your machine at <hostname>.local
# it's more convenient than using the IP address.
# https://avahi.org/
services.avahi = {
enable = true;
nssmdns4 = true;
publish = {
enable = true;
domain = true;
userServices = true;
};
};
}