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, ... }:
{
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 = {};