nixos/sabnzbd: add types
This commit is contained in:
parent
4015c5ca9c
commit
14a8446dc1
|
@ -18,16 +18,19 @@ in
|
||||||
enable = mkEnableOption "the sabnzbd server";
|
enable = mkEnableOption "the sabnzbd server";
|
||||||
|
|
||||||
configFile = mkOption {
|
configFile = mkOption {
|
||||||
|
type = types.path;
|
||||||
default = "/var/lib/sabnzbd/sabnzbd.ini";
|
default = "/var/lib/sabnzbd/sabnzbd.ini";
|
||||||
description = "Path to config file.";
|
description = "Path to config file.";
|
||||||
};
|
};
|
||||||
|
|
||||||
user = mkOption {
|
user = mkOption {
|
||||||
default = "sabnzbd";
|
default = "sabnzbd";
|
||||||
|
type = types.str;
|
||||||
description = "User to run the service as";
|
description = "User to run the service as";
|
||||||
};
|
};
|
||||||
|
|
||||||
group = mkOption {
|
group = mkOption {
|
||||||
|
type = types.str;
|
||||||
default = "sabnzbd";
|
default = "sabnzbd";
|
||||||
description = "Group to run the service as";
|
description = "Group to run the service as";
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue