helm/modules/editors/emacs.nix
Henrik Lissner ee84fa45a2
Revert "Don't use zsh/rc.d system"
This reverts commit a7834176ec.
2019-12-08 23:56:58 -05:00

27 lines
828 B
Nix

{ config, lib, pkgs, ... }:
let unstable = import <nixpkgs-unstable> {};
in
{
environment.systemPackages = with pkgs; [
(lib.mkIf (config.programs.gnupg.agent.enable) pinentry_emacs)
zstd
editorconfig-core-c
(ripgrep.override {withPCRE2 = true;})
# Doom Emacs + dependencies
unstable.emacs
sqlite # :tools (lookup +docsets)
texlive.combined.scheme-medium # :lang org -- for latex previews
ccls # :lang (cc +lsp)
nodePackages.javascript-typescript-langserver # :lang (javascript +lsp)
];
fonts.fonts = [ pkgs.emacs-all-the-icons-fonts ];
home-manager.users.hlissner.xdg.configFile = {
"zsh/rc.d/aliases.emacs.zsh".source = <config/emacs/aliases.zsh>;
"zsh/rc.d/env.emacs.zsh".source = <config/emacs/env.zsh>;
};
}