summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--user/modules/emacs.nix9
1 files changed, 7 insertions, 2 deletions
diff --git a/user/modules/emacs.nix b/user/modules/emacs.nix
index 5d73e585..10c87eeb 100644
--- a/user/modules/emacs.nix
+++ b/user/modules/emacs.nix
@@ -156,9 +156,14 @@ in
   home.sessionVariables = {
     EDITOR = "${editorScript}/bin/edit";
   };
-  home.file.".emacs.d" = {
+  home.file.".emacs.d/init.el".source = ../emacs/.emacs.d/init.el;
+  home.file.".emacs.d/main.el" = {
+    source = ../emacs/.emacs.d/main.el;
+  };
+  home.file.".emacs.d/eshell/" = {
     recursive = true;
-    source = ../emacs/.emacs.d;
+    source = ../emacs/.emacs.d/eshell;
   };
+
   home.file.".local/share/applications/emacsclient.desktop".source = desktopApplicationFile;
 }