System/home-manager/common/programs/emacs.nix

41 lines
937 B
Nix
Raw Normal View History

2022-09-04 04:19:50 -04:00
{ config, lib, pkgs, inputs, ... }:
{
config = lib.mkIf config.nathan.programs.emacs.enable {
# Dependencies of my emacs environment
home.packages = with pkgs; [
# For markdown rendering
python39Packages.grip
# For graph generation
graphviz
sqlite
# For latex editing
texlive.combined.scheme-medium
# For notifications
libnotify
# For flash cards
anki
# For spelling
aspell
aspellDicts.en
aspellDicts.en-science
aspellDicts.en-computers
2022-09-10 17:44:37 -04:00
# For nix
rnix-lsp
manix
nix-doc
2022-09-30 23:21:21 -04:00
# For email
mu
2022-09-04 04:19:50 -04:00
# Desktop file for org-protocol
(makeDesktopItem {
name = "org-protocol";
exec = "emacsclient %u";
comment = "Org protocol";
desktopName = "org-protocol";
type = "Application";
mimeTypes = [ "x-scheme-handler/org-protocol" ];
})
];
};
}