{ theme, pkgs, ... }: { programs.doom-emacs = { emacsPackage = pkgs.emacs; enable = true; doomPrivateDir = ./themes/${theme}/doom-emacs.d; }; programs.ripgrep.enable = true; # Used for the LSP Python module # https://github.com/doomemacs/doomemacs/tree/develop/modules/tools/lsp home.packages = [ pkgs.python311Packages.python-lsp-server pkgs.rust-analyzer ]; }