Add ripgrep to Emacs and also add desktop entry for org-protocol

Signed-off-by: Magic_RB <magic_rb@redalder.org>
This commit is contained in:
Magic_RB 2021-10-17 19:59:52 +02:00
parent e55038fdf6
commit a9f88e8bbc
No known key found for this signature in database
GPG key ID: 08D5287CC5DDCA0E

View file

@ -39,10 +39,14 @@ in
hunspell.enable = true;
hunspell.dictionaries = with pkgs.hunspellDicts;
[ en_US ];
additionalPackages = [
tex
r
];
additionalPackages =
[ tex
r
] ++
(with pkgs;
[ krita
ripgrep
]);
}).bundle;
};
};
@ -50,6 +54,15 @@ in
config = mkIf cfg.enable {
home.packages = with pkgs; [
cfg.package
(makeDesktopItem {
name = "Org-Protocol";
exec = "emacsclient %u";
comment = "Org protocol";
desktopName = "org-protocol";
type = "Application";
mimeType = "x-scheme-handler/org-protocol";
})
fira-code
(iosevka-bin.override { variant = "aile"; })
(iosevka-bin.override { variant = "etoile"; })