From c5e42d858bb4044c2e7a529967220523c1e16cfe Mon Sep 17 00:00:00 2001 From: Charlie Root Date: Tue, 1 Oct 2024 16:08:04 +0200 Subject: [PATCH] emacs: switch to stable package --- modules/programs/editors/emacs/module.nix | 32 +++++++++++------------ 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/modules/programs/editors/emacs/module.nix b/modules/programs/editors/emacs/module.nix index db12ea6..d14df08 100644 --- a/modules/programs/editors/emacs/module.nix +++ b/modules/programs/editors/emacs/module.nix @@ -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; }; }; };