It’s just my Emacs configuration. Emacs itself along with all the packages are managed by nix with the help of emacs-overlay from the nix-community.
I use nix on other Linux distributions instead of the NixOS, system configuration is hence not supported. For folks like me, place following configurations into respected files for fetching the emacs overlay and defining the package override:
- .config/nixpkgs/config.nix
{
packageOverrides = pkgs: with pkgs; {
fociEmacs = pkgs.callPackage ~/.emacs.d/foci.nix pkgs;
};
}
- .config/nixpkgs/overlays/emacs-packages.nix
import (builtins.fetchTarball {
url = https://github.com/nix-community/emacs-overlay/archive/master.tar.gz;
})
run:
nix-env -iA nixpkgs.fociEmacs
Alternatively, go to the repository and run:
nix profile install .
The configuration uses package_quickstart_refresh to speedup the load time.
GPL-v3