diff options
author | jeschli <jeschli@gmail.com> | 2018-03-20 20:16:12 +0100 |
---|---|---|
committer | jeschli <jeschli@gmail.com> | 2018-03-20 20:16:12 +0100 |
commit | 26a93afd0d5bdf3e63c059bef7deb0785ff49689 (patch) | |
tree | 4c8ba918a683c502553598461d49ad8e1e785c6e /jeschli | |
parent | e69e5342fcfe9ef5e533bb245acb4769e993b65f (diff) |
j brauerei: *emacs with magit
Diffstat (limited to 'jeschli')
-rw-r--r-- | jeschli/2configs/emacs.nix | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/jeschli/2configs/emacs.nix b/jeschli/2configs/emacs.nix index 3c1d6ba..b616acf 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 |