mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 23:11:34 +01:00
18 lines
305 B
Nix
18 lines
305 B
Nix
{
|
|
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
|
|
];
|
|
};
|
|
}
|