services/languagetool: init
This commit is contained in:
parent
7a6ace2ef0
commit
97a114f637
1 changed files with 15 additions and 0 deletions
15
services/languagetool.nix
Normal file
15
services/languagetool.nix
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
{
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
|
||||||
|
lib.mkIf (lib.elem "languagetool" config.machine.services) {
|
||||||
|
services.languagetool = {
|
||||||
|
enable = true;
|
||||||
|
allowOrigin = "*";
|
||||||
|
jvmOptions = [
|
||||||
|
"-Xmx512m"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue