Move libreoffice stuff into a module

This commit is contained in:
SebastianStork 2025-10-07 23:34:14 +02:00
parent 8593e7dae3
commit a176c88b5d
2 changed files with 21 additions and 7 deletions

View file

@ -0,0 +1,18 @@
{
config,
pkgs,
lib,
...
}:
{
options.custom.programs.libreoffice.enable = lib.mkEnableOption "";
config = lib.mkIf config.custom.programs.libreoffice.enable {
home.packages = with pkgs; [
libreoffice
hunspell
hunspellDicts.de_DE
hunspellDicts.en_US
];
};
}