dotfiles/nixos/home-manager/programs/emacs/emacs.nix

21 lines
539 B
Nix
Raw Normal View History

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