{config, lib, pkgs, ...}: let cfg = config.features.gui.bundles.office; in { options.features.gui.bundles.office.enable = lib.mkEnableOption "the office bundle"; config = lib.mkIf cfg.enable { home.packages = with pkgs; [ libreoffice kdePackages.okular # Fonts corefonts vista-fonts ]; fonts.fontconfig.enable = true; # Run fc-cache command to update fonts after installing }; }