xin/configs/emacs.nix

22 lines
407 B
Nix
Raw Normal View History

{ emacsWithPackagesFromUsePackage
2023-09-12 08:44:05 -06:00
, pkgs
, emacsPkg ? pkgs.emacs-pgtk
2023-09-12 08:44:05 -06:00
, ...
}:
emacsWithPackagesFromUsePackage {
config = ./emacs.org;
2022-08-25 12:21:35 -06:00
2023-09-12 08:44:05 -06:00
alwaysEnsure = true;
alwaysTangle = true;
2022-08-25 12:21:35 -06:00
defaultInitFile = true;
package = emacsPkg;
2024-07-12 08:39:40 -06:00
override = epkgs: epkgs // {
ollama = pkgs.callPackage ../pkgs/ollama-el.nix {
inherit (pkgs) fetchFromGitHub;
inherit (epkgs) trivialBuild;
};
};
2023-09-12 08:44:05 -06:00
}