22 lines
374 B
Nix
22 lines
374 B
Nix
{
|
|
osConfig,
|
|
pkgs,
|
|
lib,
|
|
...
|
|
}: let
|
|
inherit (lib) mkIf;
|
|
inherit (osConfig) modules;
|
|
|
|
sys = modules.system;
|
|
prg = sys.programs;
|
|
in {
|
|
config = mkIf prg.libreoffice.enable {
|
|
home.packages = with pkgs; [
|
|
libreoffice-qt
|
|
hyphen # text hyphenation library
|
|
hunspell
|
|
hunspellDicts.en_US-large
|
|
hunspellDicts.en_GB-large
|
|
];
|
|
};
|
|
}
|