2024-12-06 16:46:10 +00:00
|
|
|
{
|
|
|
|
config,
|
|
|
|
lib,
|
|
|
|
namespace,
|
|
|
|
...
|
|
|
|
}:
|
2024-02-29 14:53:34 +00:00
|
|
|
|
2024-05-07 22:02:59 +00:00
|
|
|
let
|
2024-12-06 16:46:10 +00:00
|
|
|
cfg = config.${namespace}.apps.office;
|
2024-02-29 14:53:34 +00:00
|
|
|
in
|
|
|
|
{
|
2024-05-07 22:02:59 +00:00
|
|
|
options = {
|
2024-12-06 16:46:10 +00:00
|
|
|
${namespace}.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-12-06 16:46:10 +00:00
|
|
|
${namespace}.ui.flatpak = {
|
2024-06-25 18:13:15 +00:00
|
|
|
enable = true;
|
|
|
|
packages = [
|
|
|
|
"org.onlyoffice.desktopeditors"
|
2024-09-10 21:14:07 +00:00
|
|
|
"us.zoom.Zoom"
|
2024-06-25 18:13:15 +00:00
|
|
|
];
|
|
|
|
};
|
2024-05-07 22:02:59 +00:00
|
|
|
};
|
2024-04-22 14:42:54 +00:00
|
|
|
}
|