nix: pass through exec arguments
This is useful for when a wrapper script is unnecessary. Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
18
options.nix
18
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;
|
||||
|
||||
Reference in New Issue
Block a user