From 3dcc3b3f346b507dd2ea7779a685e41fd3d6bbb0 Mon Sep 17 00:00:00 2001 From: Kiana Sheibani Date: Wed, 22 Oct 2025 13:18:19 -0400 Subject: [PATCH] feat: add custom dictionary to `aspell` --- config/packages.nix | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/config/packages.nix b/config/packages.nix index a944673..9bf0da5 100644 --- a/config/packages.nix +++ b/config/packages.nix @@ -14,10 +14,13 @@ in { aspell = aspell.overrideAttrs (super: { postInstall = super.postInstall + '' mkdir -p $out/etc - cat > $out/etc/aspell.conf << EOF - lang en_US - add-extra-dicts en-computers.rws - add-extra-dicts en_US-science.rws + cat >$out/lib/aspell/en_US-custom.multi <$out/etc/aspell.conf <