summaryrefslogtreecommitdiff
path: root/home-manager/features/gui/bundles/office.nix
blob: 51d5855cb3272f67e6494751a5c001c38b4ddc14 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{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
  };
}