about summary refs log tree commit diff
path: root/pkgs/games/base-module.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/games/base-module.nix')
-rw-r--r--pkgs/games/base-module.nix15
1 files changed, 15 insertions, 0 deletions
diff --git a/pkgs/games/base-module.nix b/pkgs/games/base-module.nix
new file mode 100644
index 00000000..08855379
--- /dev/null
+++ b/pkgs/games/base-module.nix
@@ -0,0 +1,15 @@
+{ lib, ... }:
+
+with lib;
+
+{
+  options = {
+    packages = mkOption {
+      type = types.attrsOf types.unspecified;
+      default = {};
+      description = "Available NixGames packages.";
+    };
+  };
+
+  config._module.args.pkgs = import <nixpkgs> {};
+}