about summary refs log tree commit diff
path: root/ops/nixos/modules
diff options
context:
space:
mode:
Diffstat (limited to 'ops/nixos/modules')
-rw-r--r--ops/nixos/modules/depot.nix16
1 files changed, 16 insertions, 0 deletions
diff --git a/ops/nixos/modules/depot.nix b/ops/nixos/modules/depot.nix
new file mode 100644
index 000000000000..20220e9f57fe
--- /dev/null
+++ b/ops/nixos/modules/depot.nix
@@ -0,0 +1,16 @@
+# This module makes it possible to get at the depot from "proper"
+# NixOS modules.
+#
+# It needs to be included and configured in each system like this:
+#
+# {
+#   imports = [ ../modules/depot.nix ];
+#   inherit depot;
+# }
+{ lib, ... }:
+
+{
+  options.depot = with lib; mkOption {
+    description = "tazjin's imported monorepo";
+  };
+}