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:
parent
0695b68c8c
commit
1d104c792b
5 changed files with 9 additions and 121 deletions
|
@ -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}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue