j brauerei: *emacs with magit

This commit is contained in:
jeschli 2018-03-20 20:16:12 +01:00
parent 117ca7ba1c
commit a94da85731

View File

@ -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