Skip to content

Latest commit

 

History

History
36 lines (29 loc) · 1.05 KB

README.org

File metadata and controls

36 lines (29 loc) · 1.05 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 .

License

GPL-v3