emacs: switch to stable package

This commit is contained in:
Charlie Root 2024-10-01 16:08:04 +02:00
commit c5e42d858b
Signed by: faukah
SSH key fingerprint: SHA256:jpYIt4Vkz1NBTQcks/N9OPTfTFxE6KF2W/rV7hrfrIw

View file

@ -10,27 +10,27 @@
inherit (lib) mkIf;
# Taken from outfoxxed since figuring this out is really annoying.
newpkgs =
pkgs.appendOverlays
(with inputs.emacs-overlay.overlays; [
emacs
package
]);
# newpkgs =
# pkgs.appendOverlays
# (with inputs.emacs-overlay.overlays; [
# emacs
# package
# ]);
custom-emacs = with newpkgs;
(emacsPackagesFor emacs-pgtk)
.emacsWithPackages (epkgs:
with epkgs; [
vterm
treesit-grammars.with-all-grammars
]);
# custom-emacs = with newpkgs;
# (emacsPackagesFor emacs-pgtk)
# .emacsWithPackages (epkgs:
# with epkgs; [
# vterm
# treesit-grammars.with-all-grammars
# ]);
in {
config = mkIf cfg.enable {
home-manager.users.${username} = {
home.packages = with pkgs; [
custom-emacs
# custom-emacs
clang-tools
emacs30-pgtk
binutils
## Doom dependencies
@ -62,7 +62,7 @@ in {
services.emacs = {
enable = true;
package = custom-emacs;
package = pkgs.emacs30-pgtk;
};
};
};