diff options
author | Valentin Shirokov <regellosigkeitsaxiom@yandex.ru> | 2017-07-31 15:28:10 +0800 |
---|---|---|
committer | Robin Gloster <mail@glob.in> | 2017-07-31 10:04:01 +0200 |
commit | a74c0c66526d824844ef45e5655415abe397f04f (patch) | |
tree | 6b518ce99389256d30fd451f85b3a0d3354a6fe8 /nixos/modules/config/networking.nix | |
parent | 701d2c89f909fba8d58e4dc342994031a4ec94cf (diff) | |
download | nixlib-a74c0c66526d824844ef45e5655415abe397f04f.tar nixlib-a74c0c66526d824844ef45e5655415abe397f04f.tar.gz nixlib-a74c0c66526d824844ef45e5655415abe397f04f.tar.bz2 nixlib-a74c0c66526d824844ef45e5655415abe397f04f.tar.lz nixlib-a74c0c66526d824844ef45e5655415abe397f04f.tar.xz nixlib-a74c0c66526d824844ef45e5655415abe397f04f.tar.zst nixlib-a74c0c66526d824844ef45e5655415abe397f04f.zip |
Removed deprecation warning for networking.extraHosts
Diffstat (limited to 'nixos/modules/config/networking.nix')
-rw-r--r-- | nixos/modules/config/networking.nix | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/nixos/modules/config/networking.nix b/nixos/modules/config/networking.nix index 616f76f6f47c..b3639037914b 100644 --- a/nixos/modules/config/networking.nix +++ b/nixos/modules/config/networking.nix @@ -199,9 +199,6 @@ in config = { - warnings = optional (cfg.extraHosts != "") - "networking.extraHosts is deprecated, please use networking.hosts instead"; - environment.etc = { # /etc/services: TCP/UDP port assignments. "services".source = pkgs.iana-etc + "/etc/services"; |