❤️🔥
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ pkgs, lib, ... }: { | |
services.languagetool = { | |
port = lib.mkDefault 7032; | |
allowOrigin = ""; # To allow access from browser addons | |
settings = { | |
# Allowed options: | |
# https://github.com/languagetool-org/languagetool/blob/master/languagetool-server/src/main/java/org/languagetool/server/HTTPServerConfig.java#L185-L205 | |
# Optional, remove unneeded files |