Configure aspell

This commit is contained in:
Kiana Sheibani 2024-06-13 16:29:14 -04:00
parent e3a88cb2d0
commit adebb3f76d

View file

@ -1,6 +1,19 @@
{ config, pkgs, ... }: { 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 gcc
ffmpeg ffmpeg
openssl openssl
@ -21,9 +34,10 @@
gnuplot gnuplot
graphviz graphviz
texlive.combined.scheme-full texlive.combined.scheme-full
(aspellWithDicts (ps: with ps; [ en en-computers en-science ])) aspell'
]; ];
programs.hyprland.enable = true; programs.hyprland.enable = true;
security.pam.services.hyprlock = {}; security.pam.services.hyprlock = {};