From cc1daf97c7e0d42ea56724495243b344461d1b54 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Llu=C3=ADs=20Batlle=20i=20Rossell?= Date: Sat, 11 Feb 2012 21:11:05 +0000 Subject: [PATCH] Adding extra options for resolv.conf svn path=/nixos/trunk/; revision=32228 --- modules/tasks/network-interfaces.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/modules/tasks/network-interfaces.nix b/modules/tasks/network-interfaces.nix index 27ca840ecdb..aa13e19a1bd 100644 --- a/modules/tasks/network-interfaces.nix +++ b/modules/tasks/network-interfaces.nix @@ -45,6 +45,15 @@ in ''; }; + networking.extraResolvConf = mkOption { + default = ""; + example = "options timeout:1 attempts:6"; + description = '' + Extra text to add to resolv.conf, additional to the + domain name and the nameservers. + ''; + }; + networking.domain = mkOption { default = ""; example = "home";