From ff7e67f2d3ef26556ae244243e4b8d3bcb1d26c5 Mon Sep 17 00:00:00 2001 From: Nicolas Pierron Date: Sun, 13 Sep 2009 22:13:07 +0000 Subject: [PATCH] Use the system hostname as default for the avahi daemon. svn path=/nixos/trunk/; revision=17104 --- modules/services/networking/avahi-daemon.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.''; };