nixos-config/user/app/doom-emacs/doom.nix

46 lines
1 KiB
Nix
Raw Normal View History

{ config, lib, pkgs, eaf, eaf-browser, org-nursery, ... }:
2023-05-16 04:48:59 +05:30
{
programs.doom-emacs = {
enable = true;
doomPrivateDir = ./.;
};
home.file.".emacs.d/themes/doom-stylix-theme.el".source = config.lib.stylix.colors {
template = builtins.readFile ./themes/doom-stylix-theme.el.mustache;
extension = ".el";
};
2023-05-20 06:55:57 +05:30
home.packages = with pkgs; [
git
nodejs
wmctrl
jshon
aria
2023-06-02 07:48:06 +05:30
hledger
nodePackages.mermaid-cli
2023-05-20 06:55:57 +05:30
(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;
rm package*.json;
npm install darkreader @mozilla/readability && rm package*.json;
2023-05-20 06:55:57 +05:30
popd;
";
};
home.file.".emacs.d/org-nursery" = {
source = "${org-nursery}";
};
2023-05-16 04:48:59 +05:30
}