xin/configs/emacs.nix
Aaron Bieber 253322b12a
gui,configs/emacs: wayland fixes
use pgtk emacs and set NIXOS_OZONE_WL
2024-07-17 08:55:27 -06:00

22 lines
407 B
Nix

{ emacsWithPackagesFromUsePackage
, pkgs
, emacsPkg ? pkgs.emacs-pgtk
, ...
}:
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;
};
};
}