treewide: fix deadnix errors

This commit is contained in:
Felix Buehler 2023-11-07 22:00:00 +01:00
parent a36dccb271
commit 46881de8eb
59 changed files with 70 additions and 93 deletions

View file

@ -73,7 +73,7 @@ in
};
'';
type = lib.types.attrsOf (lib.types.submodule (
{ name, config, ... }: {
{ ... }: {
options = {
# enable = lib.mkEnableOption "exportarr-${name}";
port = lib.mkOption {
@ -119,7 +119,7 @@ in
config = lib.mkIf (cfg != { }) {
assertions = lib.mapAttrsToList
(name: config: {
(name: _config: {
assertion = builtins.elem name [ "sonarr" "radarr" "lidarr" "prowlarr" "readarr" "sabnzbd" ];
message = "exportarr does not support this service.";
})