summaryrefslogtreecommitdiffstats
path: root/modules/common/nixpkgs.nix
diff options
context:
space:
mode:
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 00000000..09b88672
--- /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";
+ };
+ };
+}