about summary refs log tree commit diff
path: root/nix/modules/ports/default.nix
diff options
context:
space:
mode:
authorEmile <git@emile.space>2024-08-02 21:10:03 +0200
committerEmile <git@emile.space>2024-08-02 21:10:03 +0200
commit84c5cbd22a2475ab21afb2e4a8b97a6645352ab9 (patch)
tree1fe429a45c1e4ade9512b1b86e953193e8d212fe /nix/modules/ports/default.nix
parentde76458cd9069d36bb1bcfbf16982b4c2a40c844 (diff)
ports as a module
Diffstat (limited to 'nix/modules/ports/default.nix')
-rw-r--r--nix/modules/ports/default.nix10
1 files changed, 10 insertions, 0 deletions
diff --git a/nix/modules/ports/default.nix b/nix/modules/ports/default.nix
new file mode 100644
index 0000000..15507e2
--- /dev/null
+++ b/nix/modules/ports/default.nix
@@ -0,0 +1,10 @@
+{ lib, ... }: 
+
+with lib; {
+  options = mkOption {
+	  type = types.attrs;
+	  default = false;
+	  example = true;
+	  description = "Whether to enable this cool module.";
+  };
+}