From b3cfb9084b3860852581be235aea90540a5302d4 Mon Sep 17 00:00:00 2001 From: Shea Levy Date: Mon, 5 May 2014 14:58:51 -0400 Subject: Get all lib functions from lib, not pkgs.lib, in modules --- nixos/modules/config/networking.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'nixos/modules/config/networking.nix') diff --git a/nixos/modules/config/networking.nix b/nixos/modules/config/networking.nix index 43717697ebd3..fd1e55f673ae 100644 --- a/nixos/modules/config/networking.nix +++ b/nixos/modules/config/networking.nix @@ -14,7 +14,7 @@ in options = { - networking.extraHosts = pkgs.lib.mkOption { + networking.extraHosts = lib.mkOption { type = types.lines; default = ""; example = "192.168.0.1 lanlocalhost"; @@ -23,7 +23,7 @@ in ''; }; - networking.dnsSingleRequest = pkgs.lib.mkOption { + networking.dnsSingleRequest = lib.mkOption { type = types.bool; default = false; description = '' -- cgit 1.4.1