home/emacs: move init.el to XDG_CONFIG_HOME
This commit is contained in:
parent
7c3e6fcf42
commit
db7c1c01b6
|
@ -8,14 +8,14 @@
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
emacs --batch --eval "(require 'org)" --eval '(org-babel-tangle-file "config.org")'
|
emacs --batch --eval "(require 'org)" --eval '(org-babel-tangle-file "config.org")'
|
||||||
'';
|
'';
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
cp config.el $out
|
cp config.el $out
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
in {
|
in {
|
||||||
home.file.".emacs".source = configEl.outPath;
|
xdg.configFile."emacs/init.el".source = configEl.outPath;
|
||||||
|
|
||||||
programs.emacs = {
|
programs.emacs = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
Loading…
Reference in New Issue