diff options
Diffstat (limited to 'nix/modules/ports')
-rw-r--r-- | nix/modules/ports/README.md | 4 | ||||
-rw-r--r-- | nix/modules/ports/default.nix | 10 |
2 files changed, 14 insertions, 0 deletions
diff --git a/nix/modules/ports/README.md b/nix/modules/ports/README.md new file mode 100644 index 0000000..c0aa718 --- /dev/null +++ b/nix/modules/ports/README.md @@ -0,0 +1,4 @@ +# ports + +A super simple nix module which doesn't do anything and is only there so you +can add attributes to the attribute set that can be referenced elsewhere. 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."; + }; +} |