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;
|
inherit (lib) mkIf;
|
||||||
|
|
||||||
# Taken from outfoxxed since figuring this out is really annoying.
|
# Taken from outfoxxed since figuring this out is really annoying.
|
||||||
newpkgs =
|
# newpkgs =
|
||||||
pkgs.appendOverlays
|
# pkgs.appendOverlays
|
||||||
(with inputs.emacs-overlay.overlays; [
|
# (with inputs.emacs-overlay.overlays; [
|
||||||
emacs
|
# emacs
|
||||||
package
|
# package
|
||||||
]);
|
# ]);
|
||||||
|
|
||||||
custom-emacs = with newpkgs;
|
# custom-emacs = with newpkgs;
|
||||||
(emacsPackagesFor emacs-pgtk)
|
# (emacsPackagesFor emacs-pgtk)
|
||||||
.emacsWithPackages (epkgs:
|
# .emacsWithPackages (epkgs:
|
||||||
with epkgs; [
|
# with epkgs; [
|
||||||
vterm
|
# vterm
|
||||||
treesit-grammars.with-all-grammars
|
# treesit-grammars.with-all-grammars
|
||||||
]);
|
# ]);
|
||||||
in {
|
in {
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
home-manager.users.${username} = {
|
home-manager.users.${username} = {
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
custom-emacs
|
# custom-emacs
|
||||||
clang-tools
|
clang-tools
|
||||||
|
emacs30-pgtk
|
||||||
binutils
|
binutils
|
||||||
|
|
||||||
## Doom dependencies
|
## Doom dependencies
|
||||||
|
@ -62,7 +62,7 @@ in {
|
||||||
|
|
||||||
services.emacs = {
|
services.emacs = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = custom-emacs;
|
package = pkgs.emacs30-pgtk;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue