summaryrefslogtreecommitdiffstats
path: root/modules/common/nixpkgs.nix
diff options
context:
space:
mode:
authorlassulus <lass@aidsballs.de>2015-05-07 14:38:29 +0200
committertv <tv@shackspace.de>2015-05-19 23:17:20 +0200
commit46db44b89fc97a7326640f9e4b76b12af314a0b0 (patch)
treee67457732733fb20d967878f48b98be6dfe09234 /modules/common/nixpkgs.nix
parentc9c54a6a091700a5912abee41cb8f578a27a12ff (diff)
prelude.sh: use nixpkgs.{url,rev} as remote nixpkgs
Diffstat (limited to 'modules/common/nixpkgs.nix')
-rw-r--r--modules/common/nixpkgs.nix16
1 files changed, 16 insertions, 0 deletions
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";
+ };
+ };
+}