emacs/var/elfeed/db/data/ef/efa47cda1658462580c9e189193ad50f09c49ba2
2022-01-03 12:49:32 -06:00

1 line
1.9 KiB
Plaintext

<!-- SC_OFF --><div class="md"><p>Emacs 3rd party dependencies and user home integration can be well managed using Nix. <a href="https://github.com/positron-solutions/posimacs">Posimacs</a> is a published example.</p> <p>I&#39;ve updated the example. It now uses nix flakes. The elisp files can be maintained as a dirty tree for happy hacking. Home manager is mainly used for the static aspects of user home integration rather than installing the elisp files read-only. I will be installing this on a Darwin machine sometime today.</p> <h2>The Scheme</h2> <ul> <li>Straight for elisp packages &amp; lockfiles</li> <li>Home manager for dotfiles</li> <li>Nix expressions for distributing 3rd party deps</li> </ul> <p><strong>Forewarning, the Emacs lisp is not marketed as good. At anything.</strong> My git tree is dirty. I mainly use the vterm integration and Rust Analyzer.</p> <h2>The Future</h2> <ul> <li>Emacs can maintain its own nix profile to have a self-contained set of 3rd party dependencies like language servers and dynamic modules independently of the user environment</li> <li>Emacs can generate a home manager module for programs like vterm that want home integration</li> <li>Emacs can maintain non-package elisp configuration expressions without resorting to rigid git managed structures or rapidly decaying patchworks lifted from literate org files scattered around</li> </ul> <p>The mix of tooling is the main work output of this project so far. Appreciate pointing out any work related to <em>the Future</em></p> </div><!-- SC_ON --> &#32; submitted by &#32; <a href="https://www.reddit.com/user/Psionikus"> /u/Psionikus </a> <br/> <span><a href="https://www.reddit.com/r/emacs/comments/rs73un/emacs_its_dependencies_and_dotfile_integration/">[link]</a></span> &#32; <span><a href="https://www.reddit.com/r/emacs/comments/rs73un/emacs_its_dependencies_and_dotfile_integration/">[comments]</a></span>