Skip to content

Latest commit

 

History

History
38 lines (30 loc) · 1.13 KB

README.org

File metadata and controls

38 lines (30 loc) · 1.13 KB

Emacs configuration.

Introduction

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.

Install

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.

License

GPL-v3