dotfiles/nixos/home-manager/programs/emacs/emacs.nix
Cyryl Płotnicki d8116e5a6a Add emacs
2021-05-28 15:58:33 +01:00

16 lines
551 B
Nix

{ pkgs ? import <nixpkgs> {} }:
let
myEmacs = pkgs.emacs-nox;
emacsWithPackages = (pkgs.emacsPackagesGen myEmacs).emacsWithPackages;
in
emacsWithPackages (epkgs: (with epkgs.melpaStablePackages; [
magit # ; Integrate git <C-x g>
zerodark-theme # ; Nicolas' theme
]) ++ (with epkgs.melpaPackages; [
]) ++ (with epkgs.elpaPackages; [
beacon # ; highlight my cursor when scrolling
nameless # ; hide current package name everywhere in elisp code
]) ++ [
pkgs.notmuch # From main packages set
])