all repos — nixfiles @ 2ccac55456347fa2560c64b9c201c5a1f0478c0a

System and user configuration, managed by nix and home-manager

Emacs: separate files to link
Alan Pearce alan@alanpearce.eu
Tue, 08 Oct 2019 21:22:42 +0200
commit

2ccac55456347fa2560c64b9c201c5a1f0478c0a

parent

b1c04a8d4482245a6f48bc2eeda5adf41f4c1851

1 files changed, 7 insertions(+), 2 deletions(-)

jump to
M user/modules/emacs.nixuser/modules/emacs.nix
@@ -156,9 +156,14 @@ ];   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;
 }