dotfiles/nixos/home-manager/programs/emacs/emacs.nix
2021-05-28 20:14:04 +01:00

20 lines
539 B
Nix

{ pkgs ? import <nixpkgs> {} }:
let
myEmacs = pkgs.emacs-nox;
emacsWithPackages = (pkgs.emacsPackagesGen myEmacs).emacsWithPackages;
in
emacsWithPackages (epkgs: (with epkgs.melpaStablePackages; [
magit
solarized-theme
evil
])
++ (with epkgs.melpaPackages; [
xterm-color
nix-mode
])
++ (with epkgs.elpaPackages; [
beacon # ; highlight my cursor when scrolling
nameless # ; hide current package name everywhere in elisp code
]) ++ [
pkgs.notmuch # From main packages set
])