Install aspell into the emacs_full environment.

This commit is contained in:
Tom Alexander 2025-01-18 22:36:13 -05:00
parent e00331bf94
commit 3baf18f435
Signed by: talexander
GPG Key ID: D3A179C9A53C0EDE

View File

@ -39,7 +39,6 @@ let
e_shorthand = pkgs.writeShellScriptBin "e" '' e_shorthand = pkgs.writeShellScriptBin "e" ''
exec ${pkgs.emacs29-pgtk}/bin/emacs "''${@}" exec ${pkgs.emacs29-pgtk}/bin/emacs "''${@}"
''; '';
in in
{ {
imports = [ ]; imports = [ ];
@ -49,12 +48,41 @@ in
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
plainmacs plainmacs
e_shorthand e_shorthand
emacs29-pgtk emacs_full
clang # To compile tree-sitter grammars clang # To compile tree-sitter grammars
nixd # nix language server nixd # nix language server
nixfmt-rfc-style # auto-formatting nix files through nixd nixfmt-rfc-style # auto-formatting nix files through nixd
]; ];
nixpkgs.overlays = [
(final: prev: {
emacs_full = pkgs.buildEnv {
name = "emacs_full";
paths = with pkgs; [
emacs29-pgtk
(pkgs.aspellWithDicts (
dicts: with dicts; [
en
en-computers
]
))
];
pathsToLink = [
"/share/man"
"/share/doc"
"/share/info"
"/bin"
"/etc"
];
extraOutputsToInstall = [
"man"
"doc"
"info"
];
};
})
];
home-manager.users.talexander = home-manager.users.talexander =
{ pkgs, ... }: { pkgs, ... }:
{ {