From 2ccac55456347fa2560c64b9c201c5a1f0478c0a Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Tue, 8 Oct 2019 21:22:42 +0200 Subject: Emacs: separate files to link --- user/modules/emacs.nix | 9 +++++++-- 1 file 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; } -- cgit 1.4.1