20 lines
357 B
Nix
20 lines
357 B
Nix
|
{ config, lib, ... }:
|
||
|
|
||
|
let
|
||
|
cfg = config.host.apps.office;
|
||
|
in
|
||
|
with lib;
|
||
|
{
|
||
|
options = {
|
||
|
host.apps.office.enable = mkEnableOption (mdDoc "Enables office and workstation apps");
|
||
|
};
|
||
|
|
||
|
config = mkIf cfg.enable {
|
||
|
host.ui.flatpak.enable = true;
|
||
|
|
||
|
services.flatpak.packages = [
|
||
|
"org.libreoffice.LibreOffice"
|
||
|
"us.zoom.Zoom"
|
||
|
];
|
||
|
};
|
||
|
}
|