mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-21 04:42:07 +03:00
Use the system hostname as default for the avahi daemon.
svn path=/nixos/trunk/; revision=17104
This commit is contained in:
parent
66ebc25eb9
commit
ff7e67f2d3
@ -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.'';
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user