My NixOS configuration (mirror)
1{
2 config,
3 lib,
4 pkgs,
5 ...
6}: {
7 options.modules.programs.libre.enable = lib.mkEnableOption "libreoffice support";
8
9 config = lib.mkIf config.modules.programs.libre.enable {
10 environment.systemPackages = with pkgs; [
11 hunspell
12 hunspellDicts.en_CA
13 hunspellDicts.en_US
14
15 libreoffice-qt
16 ];
17 };
18}