diff --git a/modules/services/networking/avahi-daemon.nix b/modules/services/networking/avahi-daemon.nix index d01bf4c3b54..8437a9afc27 100644 --- a/modules/services/networking/avahi-daemon.nix +++ b/modules/services/networking/avahi-daemon.nix @@ -20,7 +20,7 @@ let }; hostName = mkOption { - default = "nixos"; # XXX: Would be nice to use `networking.hostName'. + default = config.networking.hostName; description = ''Host name advertised on the LAN.''; };