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