mirror of
https://github.com/Stunkymonkey/nixos.git
synced 2025-05-24 09:54:40 +02:00
treewide: fix deadnix errors
This commit is contained in:
parent
a36dccb271
commit
46881de8eb
59 changed files with 70 additions and 93 deletions
|
@ -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.";
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue