2024-02-02 13:45:05 +01:00
|
|
|
{
|
|
|
|
config,
|
|
|
|
lib,
|
|
|
|
pkgs,
|
|
|
|
...
|
|
|
|
}:
|
|
|
|
let
|
|
|
|
cfg = config.programs.az-hunspell;
|
|
|
|
in
|
|
|
|
{
|
2023-05-30 22:55:08 +02:00
|
|
|
options = {
|
|
|
|
programs.az-hunspell.enable = lib.mkEnableOption "Add dictionaries";
|
|
|
|
};
|
|
|
|
|
|
|
|
config = lib.mkIf cfg.enable {
|
2023-12-12 08:54:17 +01:00
|
|
|
home.packages = with pkgs; [
|
2023-05-30 22:55:08 +02:00
|
|
|
hunspell
|
|
|
|
hunspellDicts.en_GB-ise
|
|
|
|
hunspellDicts.de_CH
|
|
|
|
];
|
|
|
|
};
|
2022-09-01 09:10:56 +02:00
|
|
|
}
|