summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Weinelt <mweinelt@users.noreply.github.com>2020-10-10 19:27:04 +0200
committerGitHub <noreply@github.com>2020-10-10 19:27:04 +0200
commit93b593ae53d061abf07930a08f883b4fdaa4afa5 (patch)
tree3d58785f5f31111ee77c41d8619d7e4eecc4ceb7
parent96e42b0f55a17e0016fb1782f8d3727551564a26 (diff)
parent826ed96c109d30ecfe1fc7dab927ded2ec08d0c5 (diff)
Merge pull request #100160 from primeos/nixos-better-domain-example
nixos/networking: Switch to home.arpa as an example for the domain
-rw-r--r--nixos/modules/tasks/network-interfaces.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/tasks/network-interfaces.nix b/nixos/modules/tasks/network-interfaces.nix
index d369aab54571..5ddb12d15c31 100644
--- a/nixos/modules/tasks/network-interfaces.nix
+++ b/nixos/modules/tasks/network-interfaces.nix
@@ -470,7 +470,7 @@ in
networking.search = mkOption {
default = [];
- example = [ "example.com" "local.domain" ];
+ example = [ "example.com" "home.arpa" ];
type = types.listOf types.str;
description = ''
The list of search paths used when resolving domain names.
@@ -479,7 +479,7 @@ in
networking.domain = mkOption {
default = null;
- example = "home";
+ example = "home.arpa";
type = types.nullOr types.str;
description = ''
The domain. It can be left empty if it is auto-detected through DHCP.