27 lines
430 B
Nix
27 lines
430 B
Nix
{
|
|
config,
|
|
lib,
|
|
namespace,
|
|
...
|
|
}:
|
|
|
|
let
|
|
cfg = config.${namespace}.apps.office;
|
|
in
|
|
{
|
|
options = {
|
|
${namespace}.apps.office.enable = lib.mkEnableOption "Enables office and workstation apps";
|
|
};
|
|
|
|
config = lib.mkIf cfg.enable {
|
|
${namespace}.ui.flatpak = {
|
|
enable = true;
|
|
packages = [
|
|
"md.obsidian.Obsidian"
|
|
"org.onlyoffice.desktopeditors"
|
|
"us.zoom.Zoom"
|
|
];
|
|
};
|
|
};
|
|
}
|