2024-02-29 09:53:34 -05:00
|
|
|
{ config, lib, ... }:
|
|
|
|
|
2024-05-07 18:02:59 -04:00
|
|
|
let
|
2024-06-24 11:38:28 -04:00
|
|
|
cfg = config.aux.system.apps.office;
|
2024-02-29 09:53:34 -05:00
|
|
|
in
|
|
|
|
{
|
2024-05-07 18:02:59 -04:00
|
|
|
options = {
|
2024-08-02 17:55:48 -04:00
|
|
|
aux.system.apps.office.enable = lib.mkEnableOption "Enables office and workstation apps";
|
2024-05-07 18:02:59 -04:00
|
|
|
};
|
2024-02-29 09:53:34 -05:00
|
|
|
|
2024-08-02 17:55:48 -04:00
|
|
|
config = lib.mkIf cfg.enable {
|
2024-06-25 14:13:15 -04:00
|
|
|
aux.system.ui.flatpak = {
|
|
|
|
enable = true;
|
|
|
|
packages = [
|
|
|
|
"org.onlyoffice.desktopeditors"
|
2024-07-30 16:25:29 -04:00
|
|
|
#"us.zoom.Zoom"
|
2024-06-25 14:13:15 -04:00
|
|
|
];
|
|
|
|
};
|
2024-07-30 16:25:29 -04:00
|
|
|
|
|
|
|
# Downgrade Zoom due to https://github.com/flathub/us.zoom.Zoom/issues/471
|
|
|
|
services.flatpak.packages = [
|
|
|
|
{
|
|
|
|
appId = "us.zoom.Zoom";
|
|
|
|
commit = "b9505f108b5f9acb2bbad83ac66f97b42bc6a75b9c28ed7b75dec1040e013305";
|
|
|
|
}
|
|
|
|
];
|
2024-05-07 18:02:59 -04:00
|
|
|
};
|
2024-04-22 10:42:54 -04:00
|
|
|
}
|