nichts/nyx/homes/notashelf/programs/graphical/apps/office/default.nix
2024-04-09 23:11:33 +02:00

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
];
};
}