blob: 23e6862defa7679085a7e6c570b75f2566f04ebb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
{ pkgs, lib, config, ... }: let
cfg = config._archetypes.collections.desktop.office;
in {
options._archetypes.collections.desktop.office = {
enable = lib.mkEnableOption "install office software";
};
config = lib.mkIf cfg.enable {
environment.systemPackages = with pkgs; [
hunspell # Spell checking in libreoffice
hunspellDicts.en_US
kdePackages.okular
libreoffice
pdfchain
thunderbird
];
};
}
|