Merge pull request #111435 from helsinki-systems/sabnzbd

nixos/sabnzbd: add types
This commit is contained in:
Sandro 2021-02-01 20:07:39 +01:00 committed by GitHub
commit 449b698a0b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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";
}; };