pinwheel: Add emacs
This commit is contained in:
10
hosts/pinwheel/modules/emacs/config.nix
Normal file
10
hosts/pinwheel/modules/emacs/config.nix
Normal file
@@ -0,0 +1,10 @@
|
||||
{ emacs, runCommand, ... }:
|
||||
runCommand "default.el" {} ''
|
||||
cp ${./config.org} $TMPDIR/config.org
|
||||
cd $TMPDIR
|
||||
${emacs}/bin/emacs --batch -Q \
|
||||
-l org config.org \
|
||||
-f org-babel-tangle
|
||||
|
||||
mv config.el $out
|
||||
''
|
||||
Reference in New Issue
Block a user