summaryrefslogtreecommitdiff
path: root/modules/soju/options.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/soju/options.nix')
-rw-r--r--modules/soju/options.nix16
1 files changed, 16 insertions, 0 deletions
diff --git a/modules/soju/options.nix b/modules/soju/options.nix
new file mode 100644
index 0000000..06c3381
--- /dev/null
+++ b/modules/soju/options.nix
@@ -0,0 +1,16 @@
+{lib, ...}:
+with lib.types; {
+ sys = {
+ fullyQualifiedDomain = lib.mkOption {
+ type = str;
+ example = "soju.trivionomicon.com";
+ description = "fully qualified domain name to be used by soju";
+ };
+
+ port = lib.mkOption {
+ type = port;
+ default = 6697;
+ description = "port to be used by soju";
+ };
+ };
+}