portable emacs
All checks were successful
MCP Tests / mcp-tests (push) Successful in 26s

This commit is contained in:
Danilo Reyes
2026-03-23 15:01:55 -06:00
parent 848ca7ca90
commit 32729627b1
4 changed files with 128 additions and 6 deletions

View File

@@ -33,11 +33,7 @@ in
}
(lib.mkIf cfg.enable {
home.packages = emacs.packages;
xdg.dataFile = {
"doom/templates/events.org".source = ../../../dotfiles/doom/templates/events.org;
"doom/templates/default.org".source = ../../../dotfiles/doom/templates/default.org;
"doom/templates/programming.org".source = ../../../dotfiles/doom/templates/programming.org;
};
xdg.dataFile = emacs.templateDataFiles;
services = {
lorri.enable = pkgs.stdenv.isLinux;
emacs = {
@@ -51,7 +47,7 @@ in
};
programs.doom-emacs = {
enable = true;
doomDir = ../../../dotfiles/doom;
inherit (emacs) doomDir;
doomLocalDir = "${config.xdg.dataHome}/nix-doom";
tangleArgs = "--all config.org";
inherit (emacs) extraPackages;