Files
nix-config/modules/nixos/base/networking.nix
2024-03-04 00:48:01 +08:00

16 lines
339 B
Nix

_: {
# Network discovery, 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;
};
};
}