about summary refs log tree commit diff
path: root/nixos/modules/config/networking.nix
diff options
context:
space:
mode:
authorValentin Shirokov <regellosigkeitsaxiom@yandex.ru>2017-07-09 00:28:05 +0300
committerValentin Shirokov <regellosigkeitsaxiom@yandex.ru>2017-07-09 00:28:05 +0300
commit2f9799399255bdacc028092b904f6ea0afc7a09a (patch)
tree1abf7abee452b79be179cedc928cd93f70005822 /nixos/modules/config/networking.nix
parent396db6493d63352394d0f94cf8d939de637517d7 (diff)
downloadnixlib-2f9799399255bdacc028092b904f6ea0afc7a09a.tar
nixlib-2f9799399255bdacc028092b904f6ea0afc7a09a.tar.gz
nixlib-2f9799399255bdacc028092b904f6ea0afc7a09a.tar.bz2
nixlib-2f9799399255bdacc028092b904f6ea0afc7a09a.tar.lz
nixlib-2f9799399255bdacc028092b904f6ea0afc7a09a.tar.xz
nixlib-2f9799399255bdacc028092b904f6ea0afc7a09a.tar.zst
nixlib-2f9799399255bdacc028092b904f6ea0afc7a09a.zip
Documentation fixes
Diffstat (limited to 'nixos/modules/config/networking.nix')
-rw-r--r--nixos/modules/config/networking.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/config/networking.nix b/nixos/modules/config/networking.nix
index d0e5b35e42e8..760f8353fb30 100644
--- a/nixos/modules/config/networking.nix
+++ b/nixos/modules/config/networking.nix
@@ -34,12 +34,12 @@ in
       default = {};
       example = ''
         {
-          "localhost" = [ "foo.bar" ];
+          "127.0.0.1" = [ "foo.bar.baz" ];
           "192.168.0.2" = [ "fileserver.local" "nameserver.local" ];
         };
       '';
       description = ''
-        Locally defined maps of IP addresses to hostnames'
+        Locally defined maps of hostnames to IP addresses.
       '';
     };