diff options
Diffstat (limited to 'emacs.nix')
-rw-r--r-- | emacs.nix | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/emacs.nix b/emacs.nix index 6b7b2bd71166..08bb346771e7 100644 --- a/emacs.nix +++ b/emacs.nix @@ -1,6 +1,6 @@ # Derivation for Emacs configured with the packages that I need: -{ pkgs ? import <nixos> {} }: +{ pkgs }: let emacsWithPackages = with pkgs; (emacsPackagesNgGen emacs).emacsWithPackages; sly = with pkgs; emacsPackagesNg.melpaBuild { @@ -59,13 +59,15 @@ nix-mode = with pkgs; emacsPackagesNg.melpaBuild { }; in emacsWithPackages(epkgs: + # Pinned packages: + (with pkgs.pinnedEmacs; [ exwm ]) ++ + # Actual ELPA packages (the enlightened!) (with epkgs.elpaPackages; [ ace-window adjust-parens avy company - exwm pinentry rainbow-mode undo-tree |