xin/pkgs/emacs.nix

22 lines
416 B
Nix
Raw Normal View History

{ 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;
};
};
}