0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-14 06:00:33 +03:00

Remove the dhclient module

It's no longer used by NixOS (replaced by dhcpcd).
This commit is contained in:
Eelco Dolstra 2013-10-29 17:34:43 +01:00
parent 0695b68c8c
commit 1d104c792b
5 changed files with 9 additions and 121 deletions

View file

@ -427,7 +427,7 @@ in
# Set the host and domain names in the activation script. Don't
# clear it if it's not configured in the NixOS configuration,
# since it may have been set by dhclient in the meantime.
# since it may have been set by dhcpcd in the meantime.
system.activationScripts.hostname =
optionalString (config.networking.hostName != "") ''
hostname "${config.networking.hostName}"