xin/pkgs/emacs.nix
Aaron Bieber f7dcd6dcd7
configs/emacs: move things around so I can add packages
It would be nice if they weren't system level.. but this works
2024-09-06 09:49:49 -06:00

22 lines
416 B
Nix

{ emacsWithPackagesFromUsePackage
, pkgs
, emacsPkg ? pkgs.emacs-pgtk
, ...
}:
emacsWithPackagesFromUsePackage {
config = ../configs/emacs.org;
alwaysEnsure = true;
alwaysTangle = true;
defaultInitFile = true;
package = emacsPkg;
override = epkgs: epkgs // {
ollama = pkgs.callPackage ../pkgs/ollama-el.nix {
inherit (pkgs) fetchFromGitHub;
inherit (epkgs) trivialBuild;
};
};
}