aboutsummaryrefslogtreecommitdiffhomepage
path: root/options.nix
diff options
context:
space:
mode:
Diffstat (limited to 'options.nix')
-rw-r--r--options.nix18
1 files changed, 18 insertions, 0 deletions
diff --git a/options.nix b/options.nix
index 9e367732..e0bf5489 100644
--- a/options.nix
+++ b/options.nix
@@ -94,6 +94,24 @@ in
'';
};
+ path = mkOption {
+ type = nullOr str;
+ default = null;
+ description = ''
+ Custom executable path.
+ Setting this to null will default to the start script.
+ '';
+ };
+
+ args = mkOption {
+ type = nullOr (listOf str);
+ default = null;
+ description = ''
+ Custom args.
+ Setting this to null will default to script name.
+ '';
+ };
+
script = mkOption {
type = nullOr str;
default = null;