2024-09-06 09:49:49 -06:00
|
|
|
{ emacsWithPackagesFromUsePackage
|
|
|
|
, pkgs
|
|
|
|
, ...
|
|
|
|
}:
|
2024-09-30 05:50:35 -06:00
|
|
|
let
|
|
|
|
emacsPkg = (if (pkgs.system == "x86_64-linux") then
|
|
|
|
pkgs.emacs-pgtk
|
|
|
|
else
|
|
|
|
pkgs.emacs);
|
|
|
|
in
|
2024-09-06 09:49:49 -06:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|