emacs: switch to stable package
This commit is contained in:
parent
4ea27ecceb
commit
c5e42d858b
1 changed files with 16 additions and 16 deletions
|
@ -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;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue