-
-
Notifications
You must be signed in to change notification settings - Fork 168
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Provide tangled .el file from Org configs #106
Comments
If you want some inspiration I do this in my config:
|
I would like to take this even further and embed the config in the Emacs closure regardless of tangling. |
@adisbladis Unfortunately this is a somewhat complex problem with emacs. I've gone through several iterations of my This is the list of options I've found:
|
There's also the option of setting Anything further would require patching emacs, which I admit I've considered once or twice, but I don't think would tell a happy story about integrating software with nix. It might be an undertaking I consider at some point down the line though regardless. |
While striving for an ever more turnkey system deployment, I ran into the issue of "how do I tell Emacs to tangle my Org config whenever I change it when Nix sets mtime to epoch 0?". I settled on a home-manager activation script to symlink my Org file into
~/.emacs.d
for now, but I thought it'd be cool to expose an attribute or something off of anemacsWithPackagesFromUsePackage
(or maybe just a totally separate function, I dunno) to hold the tangled config for direct symlinking (maybe even byte compile it if there's a sane way to do that).I'm probably gonna play around and see if I can cobble something together out of
fromElisp
, so this is more of an interest check and a call for anyone who's been down this road before to spill their secrets or tell me that this is a terrible idea. :DThe text was updated successfully, but these errors were encountered: