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";
configFile = mkOption {
type = types.path;
default = "/var/lib/sabnzbd/sabnzbd.ini";
description = "Path to config file.";
};
user = mkOption {
default = "sabnzbd";
type = types.str;
description = "User to run the service as";
};
group = mkOption {
type = types.str;
default = "sabnzbd";
description = "Group to run the service as";
};