added custom emacs package with vterm

nixos
Moritz Böhme 2021-10-11 11:17:44 +02:00
parent 7073aa8aec
commit f751bcc2bd
1 changed files with 8 additions and 7 deletions

View File

@ -1,11 +1,16 @@
{ config, lib, pkgs, inputs, ... }: { config, lib, pkgs, inputs, ... }:
let let
base = { emacsVtermGit = with pkgs;
((emacsPackagesNgGen emacsGit).emacsWithPackages (epkgs: [ epkgs.vterm ]));
in {
fonts.fonts = [ pkgs.emacs-all-the-icons-fonts ];
home-manager.users.moritz = {
programs.emacs.enable = true; programs.emacs.enable = true;
programs.emacs.package = pkgs.emacsGit; programs.emacs.package = emacsVtermGit;
services.emacs.enable = true; services.emacs.enable = true;
services.emacs.package = pkgs.emacsGit; services.emacs.package = emacsVtermGit;
xdg = { xdg = {
enable = true; enable = true;
@ -63,8 +68,4 @@ let
xorg.xprop xorg.xprop
]; ];
}; };
in {
fonts.fonts = [ pkgs.emacs-all-the-icons-fonts ];
home-manager.users.moritz = { ... }: (base);
} }