From 46db44b89fc97a7326640f9e4b76b12af314a0b0 Mon Sep 17 00:00:00 2001 From: lassulus Date: Thu, 7 May 2015 14:38:29 +0200 Subject: prelude.sh: use nixpkgs.{url,rev} as remote nixpkgs --- modules/common/nixpkgs.nix | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 modules/common/nixpkgs.nix (limited to 'modules/common') diff --git a/modules/common/nixpkgs.nix b/modules/common/nixpkgs.nix new file mode 100644 index 000000000..09b88672b --- /dev/null +++ b/modules/common/nixpkgs.nix @@ -0,0 +1,16 @@ +{ config, lib, pkgs, ... }: + +with lib; + +{ + options = { + nixpkgs.url = mkOption { + type = types.string; + description = "url of the remote repo"; + }; + nixpkgs.rev= mkOption { + type = types.string; + description = "revision of the remote repo"; + }; + }; +} -- cgit v1.2.3