summaryrefslogtreecommitdiffstats
path: root/modules/common
diff options
context:
space:
mode:
Diffstat (limited to 'modules/common')
-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";
+ };
+ };
+}