Emacs - Nix

Welcome to the Functional Programming Zulip Chat Archive. You can join the chat here.

Ben Kolera

Wow, it's much easier than I had imagined to create a cut down but doom / spacemacs like emacs setup from raw nix emacsPackages, homemanager and not too much use-package based elisp. What I have doesn't replace everything that I had in spacemacs yet, but it shouldn't be too hard to add in as I go. Lovely stuff!

Sridhar Ratnakumar

Can I see your Nix config?

Ben Kolera

https://github.com/benkolera/nix/blob/master/home-manager/default.nix#L126
https://github.com/benkolera/nix/blob/master/home-manager/dotfiles/emacs.d/init.el

Would be good to automate the nix emacs dependency and generation of the use-package stuff with some nix that had the nix dep and the elisp config in it, but it's good enough for now.

Contribute to benkolera/nix development by creating an account on GitHub.
Contribute to benkolera/nix development by creating an account on GitHub.
Ben Kolera

And to be fair, there is a lot that this thing isn't doing that spacemacs and doom do, but this is like my 80% usecase version.