2024-02-29 14:53:34 +00:00
|
|
|
{ config, lib, ... }:
|
|
|
|
|
2024-05-07 22:02:59 +00:00
|
|
|
let
|
2024-06-24 15:38:28 +00:00
|
|
|
cfg = config.aux.system.apps.office;
|
2024-02-29 14:53:34 +00:00
|
|
|
in
|
|
|
|
{
|
2024-05-07 22:02:59 +00:00
|
|
|
options = {
|
2024-08-02 21:55:48 +00:00
|
|
|
aux.system.apps.office.enable = lib.mkEnableOption "Enables office and workstation apps";
|
2024-05-07 22:02:59 +00:00
|
|
|
};
|
2024-02-29 14:53:34 +00:00
|
|
|
|
2024-08-02 21:55:48 +00:00
|
|
|
config = lib.mkIf cfg.enable {
|
2024-06-25 18:13:15 +00:00
|
|
|
aux.system.ui.flatpak = {
|
|
|
|
enable = true;
|
|
|
|
packages = [
|
|
|
|
"org.onlyoffice.desktopeditors"
|
2024-07-30 20:25:29 +00:00
|
|
|
#"us.zoom.Zoom"
|
2024-06-25 18:13:15 +00:00
|
|
|
];
|
|
|
|
};
|
2024-07-30 20:25:29 +00: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 22:02:59 +00:00
|
|
|
};
|
2024-04-22 14:42:54 +00:00
|
|
|
}
|