summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorBjørn Forsman <bjorn.forsman@gmail.com>2013-12-07 12:03:50 +0100
committerBjørn Forsman <bjorn.forsman@gmail.com>2013-12-07 12:03:50 +0100
commitca26e75a7350c5b1bb32419d4f4438e4bd477fd9 (patch)
tree64012ba8ed54a1f9a1121218563bea4cbcf91412 /nixos
parentcf4b25977031f0de985cafcb17d33c66ab0a2c8e (diff)
downloadnixlib-ca26e75a7350c5b1bb32419d4f4438e4bd477fd9.tar
nixlib-ca26e75a7350c5b1bb32419d4f4438e4bd477fd9.tar.gz
nixlib-ca26e75a7350c5b1bb32419d4f4438e4bd477fd9.tar.bz2
nixlib-ca26e75a7350c5b1bb32419d4f4438e4bd477fd9.tar.lz
nixlib-ca26e75a7350c5b1bb32419d4f4438e4bd477fd9.tar.xz
nixlib-ca26e75a7350c5b1bb32419d4f4438e4bd477fd9.tar.zst
nixlib-ca26e75a7350c5b1bb32419d4f4438e4bd477fd9.zip
nixos/avahi-service: small documentation update
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/services/networking/avahi-daemon.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/nixos/modules/services/networking/avahi-daemon.nix b/nixos/modules/services/networking/avahi-daemon.nix
index effd1a62bd91..2256de89630d 100644
--- a/nixos/modules/services/networking/avahi-daemon.nix
+++ b/nixos/modules/services/networking/avahi-daemon.nix
@@ -51,7 +51,10 @@ in
 
       hostName = mkOption {
         type = types.str;
-        description = ''Host name advertised on the LAN.'';
+        description = ''
+          Host name advertised on the LAN. If not set, avahi will use the value
+          of config.networking.hostName.
+        '';
       };
 
       browseDomains = mkOption {