mirror of
https://github.com/librephoenix/nixos-config
synced 2025-01-19 15:15:52 +05:30
49 lines
1.2 KiB
Nix
49 lines
1.2 KiB
Nix
{ config, lib, pkgs, eaf, eaf-browser, org-nursery, myThemePolarity, ... }:
|
|
let
|
|
myDashboardLogo = ./. + "/nix-" + myThemePolarity + ".png";
|
|
in
|
|
{
|
|
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";
|
|
};
|
|
home.packages = with pkgs; [
|
|
git
|
|
nodejs
|
|
wmctrl
|
|
jshon
|
|
aria
|
|
hledger
|
|
nodePackages.mermaid-cli
|
|
(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;
|
|
popd;
|
|
";
|
|
};
|
|
home.file.".emacs.d/org-nursery" = {
|
|
source = "${org-nursery}";
|
|
};
|
|
home.file.".emacs.d/dashboard-logo.png".source = myDashboardLogo;
|
|
}
|