summaryrefslogtreecommitdiffstats
path: root/jeschli
diff options
context:
space:
mode:
authorjeschli <jeschli@gmail.com>2018-03-20 20:16:12 +0100
committerjeschli <jeschli@gmail.com>2018-03-20 20:16:12 +0100
commita94da8573103f3a7ccaf836c6126041dc351b623 (patch)
treeb711f8c753fb795cfdd1794869b43c10d0c42fe6 /jeschli
parent117ca7ba1c7709fd4249b5e64d06731a302eb970 (diff)
j brauerei: *emacs with magit
Diffstat (limited to 'jeschli')
-rw-r--r--jeschli/2configs/emacs.nix7
1 files changed, 6 insertions, 1 deletions
diff --git a/jeschli/2configs/emacs.nix b/jeschli/2configs/emacs.nix
index 3c1d6ba06..b616acfae 100644
--- a/jeschli/2configs/emacs.nix
+++ b/jeschli/2configs/emacs.nix
@@ -50,7 +50,12 @@ let
(setq ring-bell-function 'ignore) ; Disable super annoying audio bell
'';
dotEmacs = pkgs.writeText "dot-emacs" emacsFile;
- myEmacs = pkgs.writeDashBin "my-emacs" ''emacs -q -l ${dotEmacs}'';
+ emacs = (pkgs.emacsPackagesNgGen pkgs.emacs).emacsWithPackages (epkgs: (with epkgs.melpaStablePackages; [
+ magit
+ ]));
+ myEmacs = pkgs.writeDashBin "my-emacs" ''
+ exec ${emacs}/bin/emacs -q -l ${dotEmacs} "$@"
+ '';
in {
environment.systemPackages = [
myEmacs