summary refs log tree commit diff stats
path: root/user/settings
diff options
context:
space:
mode:
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
     '';
   };