22 lines
406 B
Nix
22 lines
406 B
Nix
{ emacsWithPackagesFromUsePackage
|
|
, pkgs
|
|
, emacsPkg ? pkgs.emacs-gtk
|
|
, ...
|
|
}:
|
|
emacsWithPackagesFromUsePackage {
|
|
config = ./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;
|
|
};
|
|
};
|
|
}
|