#home.nix
packages = let
aspellDicts = with pkgs.aspellDicts; [fr en es];
gnome = with pkgs.gnome; [eog nautilus];
in with pkgs; [
aspell
]
++ aspellDicts
++ gnome;
EDIT: there is this also this one, that I like better
#home.nix
packages = with pkgs; [
aspell
]
++ (with pkgs.aspellDicts; [fr en es])
++ (with pkgs.gnome; [eog nautilus]);