Adding extra options for resolv.conf

svn path=/nixos/trunk/; revision=32228
This commit is contained in:
Lluís Batlle i Rossell 2012-02-11 21:11:05 +00:00
parent 3a9dfceb07
commit cc1daf97c7

View file

@ -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";