Add languagetool service
This commit is contained in:
parent
c8f66f7364
commit
7f499f439e
4 changed files with 19 additions and 1 deletions
16
modules/services/languagetool.nix
Normal file
16
modules/services/languagetool.nix
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
|
||||
with lib;
|
||||
with lib.my;
|
||||
|
||||
let cfg = config.modules.services.languagetool;
|
||||
in {
|
||||
options.modules.services.languagetool = { enable = mkBoolOpt false; };
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
services.languagetool = {
|
||||
enable = true;
|
||||
allowOrigin = "*";
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue