Same Emacs

This commit is contained in:
Benson Chu 2024-08-10 06:35:17 -05:00
parent ed9c00e955
commit 8e9ad6c4f5
3 changed files with 14 additions and 6 deletions

View file

@ -22,7 +22,10 @@
# #
# TODO: Resolve the disparity. # TODO: Resolve the disparity.
((emacsPackagesFor emacs-unstable).emacsWithPackages ((emacsPackagesFor emacs-unstable).emacsWithPackages
(epkgs: with epkgs; [ treesit-grammars.with-all-grammars ])) (epkgs: with epkgs; [
treesit-grammars.with-all-grammars
mu4e
]))
notmuch mu isync notmuch mu isync
keychain ledger gnupg keychain ledger gnupg
ledger2beancount beancount ledger2beancount beancount

View file

@ -1,5 +1,12 @@
{ config, pkgs, ... }: { config, pkgs, ... }:
let
emacs =
((pkgs.emacsPackagesFor pkgs.emacs-unstable).emacsWithPackages
(epkgs: with epkgs; [
treesit-grammars.with-all-grammars
mu4e
]));
in
{ {
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
picom picom
@ -12,7 +19,7 @@
windowManager.session = [{ windowManager.session = [{
name = "my-exwm"; name = "my-exwm";
start = '' start = ''
${pkgs.emacs-unstable}/bin/emacs -l /home/benson/.emacs.d/init.el ${emacs}/bin/emacs -l /home/benson/.emacs.d/init.el
''; '';
}]; }];

View file

@ -101,11 +101,9 @@
(pkgs.emacsPackagesFor pkgs.emacs-unstable) (pkgs.emacsPackagesFor pkgs.emacs-unstable)
.emacsWithPackages (epkgs: with epkgs; [ .emacsWithPackages (epkgs: with epkgs; [
treesit-grammars.with-all-grammars treesit-grammars.with-all-grammars
mu4e
])); ]));
enable = true; enable = true;
extraPackages = epkgs: with epkgs; [
mu4e
];
}; };
direnv = { direnv = {