diff options
author | Fritz Otlinghaus <fritz@otlinghaus.it> | 2021-01-31 12:12:59 +0100 |
---|---|---|
committer | Fritz Otlinghaus <fritz@otlinghaus.it> | 2021-01-31 12:12:59 +0100 |
commit | 14a8446dc1ce8dba54c47d55fd898932987983e9 (patch) | |
tree | aaf7e0b562f61991f7b82057b91f9e136882f127 | |
parent | 4015c5ca9c6ec7d4aa765c97b4413b478daa278b (diff) |
nixos/sabnzbd: add types
-rw-r--r-- | nixos/modules/services/networking/sabnzbd.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/nixos/modules/services/networking/sabnzbd.nix b/nixos/modules/services/networking/sabnzbd.nix index ff5aef7d1cb47..43566dfd25c5f 100644 --- a/nixos/modules/services/networking/sabnzbd.nix +++ b/nixos/modules/services/networking/sabnzbd.nix @@ -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"; }; |