fixed init for nix

This commit is contained in:
Aleksandr Lebedev 2025-01-27 21:50:01 +01:00
parent 173299ea8b
commit 5eab807a44
2 changed files with 6 additions and 1 deletions

1
.gitignore vendored
View file

@ -1 +1,2 @@
eln-cache
config.el

View file

@ -28,7 +28,11 @@ in
# };
defaultInitFile = pkgs.substituteAll {
name = "default.el";
src = ./init.el;
src = pkgs.writeText "init.el" ''
;;; -*- lexical-binding: t; -*-
(org-babel-load-file
${./config.org})
'';
};
# Package is optional, defaults to pkgs.emacs