From adebb3f76dfd2c3bdcaa3ae3ea33a0b2867d99ab Mon Sep 17 00:00:00 2001 From: kiana-S Date: Thu, 13 Jun 2024 16:29:14 -0400 Subject: [PATCH] Configure aspell --- config/packages.nix | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/config/packages.nix b/config/packages.nix index 89c0ebd..6239f15 100644 --- a/config/packages.nix +++ b/config/packages.nix @@ -1,6 +1,19 @@ { config, pkgs, ... }: { - environment.systemPackages = with pkgs; [ + environment.systemPackages = with pkgs; + let aspell' = aspellWithDicts.override { + 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 + EOF + ''; + }); + } (ps: with ps; [ en en-computers en-science ]); + in [ gcc ffmpeg openssl @@ -21,9 +34,10 @@ gnuplot graphviz texlive.combined.scheme-full - (aspellWithDicts (ps: with ps; [ en en-computers en-science ])) + aspell' ]; + programs.hyprland.enable = true; security.pam.services.hyprlock = {};