1
0
Fork 0
nix-configuration/modules/apps/office.nix

29 lines
508 B
Nix
Raw Normal View History

2024-02-29 09:53:34 -05:00
{ config, lib, ... }:
let
2024-03-04 10:57:41 -05:00
cfg = config.host.apps.office;
2024-02-29 09:53:34 -05:00
in
with lib;
{
2024-03-04 10:57:41 -05:00
options = {
host.apps.office.enable = mkEnableOption (mdDoc "Enables office and workstation apps");
};
2024-02-29 09:53:34 -05:00
2024-03-04 10:57:41 -05:00
config = mkIf cfg.enable {
host.ui.flatpak.enable = true;
2024-02-29 09:53:34 -05:00
2024-03-04 10:57:41 -05:00
services.flatpak.packages = [
"org.libreoffice.LibreOffice"
"us.zoom.Zoom"
];
2024-04-14 15:43:01 -04:00
# Spelling and grammer checking: hosted on localhost:8081
services.languagetool = {
enable = true;
port = 8090;
2024-04-14 15:43:01 -04:00
public = false;
allowOrigin = "*";
};
2024-03-04 10:57:41 -05:00
};
}