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

27 lines
491 B
Nix
Raw Normal View History

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