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.
((emacsPackagesFor emacs-unstable).emacsWithPackages
(epkgs: with epkgs; [ treesit-grammars.with-all-grammars ]))
(epkgs: with epkgs; [
treesit-grammars.with-all-grammars
mu4e
]))
notmuch mu isync
keychain ledger gnupg
ledger2beancount beancount

View file

@ -1,5 +1,12 @@
{ config, pkgs, ... }:
let
emacs =
((pkgs.emacsPackagesFor pkgs.emacs-unstable).emacsWithPackages
(epkgs: with epkgs; [
treesit-grammars.with-all-grammars
mu4e
]));
in
{
environment.systemPackages = with pkgs; [
picom
@ -12,7 +19,7 @@
windowManager.session = [{
name = "my-exwm";
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)
.emacsWithPackages (epkgs: with epkgs; [
treesit-grammars.with-all-grammars
mu4e
]));
enable = true;
extraPackages = epkgs: with epkgs; [
mu4e
];
};
direnv = {