home/emacs: move init.el to XDG_CONFIG_HOME
This commit is contained in:
parent
7c3e6fcf42
commit
db7c1c01b6
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user