summary refs log tree commit diff stats
path: root/user/settings
diff options
context:
space:
mode:
authorAlan Pearce2020-08-26 14:02:23 +0200
committerAlan Pearce2020-08-26 14:03:50 +0200
commit3937dbd373054643862bed55e11280d2f34b6eeb (patch)
tree12c19cb7f134d7564107024c3cde68fe887f35e5 /user/settings
parent0f6a0e57504c07aa9f93f6d23a56555341ee5124 (diff)
downloadnixfiles-3937dbd373054643862bed55e11280d2f34b6eeb.tar.lz
nixfiles-3937dbd373054643862bed55e11280d2f34b6eeb.tar.zst
nixfiles-3937dbd373054643862bed55e11280d2f34b6eeb.zip
BC! Emacs: move config to XDG config dir
Diffstat (limited to 'user/settings')
-rw-r--r--user/settings/emacs.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/user/settings/emacs.nix b/user/settings/emacs.nix
index 543a17cc..1ce4fc23 100644
--- a/user/settings/emacs.nix
+++ b/user/settings/emacs.nix
@@ -189,10 +189,10 @@ in
   home.sessionVariables = {
     EDITOR = "${editorScript}/bin/edit";
   };
-  home.file.".emacs.d/init.el" = {
+  xdg.configFile."emacs/init.el" = {
     source = ../emacs/init.el;
     onChange = ''
-      ${config.programs.emacs.finalPackage}/bin/emacs -Q -batch -f batch-byte-compile .emacs.d/init.el
+      ${config.programs.emacs.finalPackage}/bin/emacs -Q -batch -f batch-byte-compile .config/emacs/init.el
     '';
   };