From bb518ccf5acc4ed48a1483db1524d371af9a7593 Mon Sep 17 00:00:00 2001 From: Andre Date: Sun, 14 Apr 2024 15:43:01 -0400 Subject: [PATCH] Add LanguageTool --- flake.lock | 6 +++--- modules/apps/office.nix | 7 +++++++ 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/flake.lock b/flake.lock index 3e3c4c1..d7ca523 100644 --- a/flake.lock +++ b/flake.lock @@ -117,11 +117,11 @@ ] }, "locked": { - "lastModified": 1713019815, - "narHash": "sha256-jzTo97VeKMNfnKw3xU+uiU5C7wtnLudsbwl/nwPLC7s=", + "lastModified": 1713077896, + "narHash": "sha256-Noot8H0EZEAFRQWyGxh9ryvhK96xpIqKbh78X447JWs=", "owner": "nix-community", "repo": "home-manager", - "rev": "8fdf329526f06886b53b94ddf433848a0d142984", + "rev": "630a0992b3627c64e34f179fab68e3d48c6991c0", "type": "github" }, "original": { diff --git a/modules/apps/office.nix b/modules/apps/office.nix index 3da3b6b..069906c 100644 --- a/modules/apps/office.nix +++ b/modules/apps/office.nix @@ -16,5 +16,12 @@ with lib; "org.libreoffice.LibreOffice" "us.zoom.Zoom" ]; + + # Spelling and grammer checking: hosted on localhost:8081 + services.languagetool = { + enable = true; + public = false; + allowOrigin = "*"; + }; }; } \ No newline at end of file