Added emacs eaf to my flake!

This commit is contained in:
Emmet 2023-05-19 20:25:57 -05:00
parent ae90cd0d8a
commit 8b3fb0123c
8 changed files with 106 additions and 10 deletions

View file

@ -1,4 +1,4 @@
{ config, lib, pkgs, ... }:
{ config, lib, pkgs, eaf, eaf-browser, ... }:
{
programs.doom-emacs = {
@ -9,4 +9,31 @@
template = builtins.readFile ./themes/doom-stylix-theme.el.mustache;
extension = ".el";
};
home.packages = with pkgs; [
git
nodejs
wmctrl
jshon
aria
(python3.withPackages (p: with p; [
pandas
requests
pyqt6 sip qtpy qt6.qtwebengine epc lxml pyqt6-webengine
pysocks
pymupdf
markdown
]))];
home.file.".emacs.d/eaf" = {
source = "${eaf}";
recursive = true;
};
home.file.".emacs.d/eaf/app/browser" = {
source = "${eaf-browser}";
recursive = true;
onChange = "
pushd ~/.emacs.d/eaf/app/browser;
npm install darkreader @mozilla/readability;
popd;
";
};
}