diff --git a/nixos/modules/services/misc/gitea.nix b/nixos/modules/services/misc/gitea.nix index d3b7e3b2e766..160e777f1f80 100644 --- a/nixos/modules/services/misc/gitea.nix +++ b/nixos/modules/services/misc/gitea.nix @@ -464,7 +464,7 @@ in }; SENDMAIL_PATH = lib.mkOption { - type = lib.types.path; + type = lib.types.str; # somewhat duplicated with useSendmail but cannot be deduped because of infinite recursion default = if config.mailer.ENABLED && config.mailer.PROTOCOL == "sendmail" then