justinlime / dotfiles

My general config and dotfiles for linux
203 stars 9 forks source link

How do I apply the emacs configuration?? #3

Open kaljitism opened 3 months ago

kaljitism commented 3 months ago

I have used your dotFiles for a while and currently writing my own, I was wondering how I could install just your emacs config. I am on NixOS and using vanilla emacs.

justinlime commented 3 months ago

It depends on if you are wanting to do it imperatively or declaratively.

To do so imperatively, you can just drop the files from the emacs directory contained in this repo into your $HOME/.emacs.d or $HOME/.config/emacs

To do so declaratively, I use a kind of cheeky solution for this, Instead of nixifying my entire emacs config, I just source the configuration files from the repo. You can see how I do this with home-manager here in emacs.nix