home/emacs: move init.el to XDG_CONFIG_HOME

This commit is contained in:
Oystein Kristoffer Tveit 2024-06-26 20:11:14 +02:00
parent 7c3e6fcf42
commit db7c1c01b6
Signed by: oysteikt
GPG Key ID: 9F2F7D8250F35146

View File

@ -8,14 +8,14 @@
buildPhase = ''
emacs --batch --eval "(require 'org)" --eval '(org-babel-tangle-file "config.org")'
'';
installPhase = ''
cp config.el $out
'';
};
in {
home.file.".emacs".source = configEl.outPath;
xdg.configFile."emacs/init.el".source = configEl.outPath;
programs.emacs = {
enable = true;