marienz / nix-doom-emacs-unstraightened

Builds Doom Emacs using Nix
Apache License 2.0
56 stars 3 forks source link

Making packages like shellcheck accessible to Doom Emacs #33

Closed KamWithK closed 1 week ago

KamWithK commented 1 week ago

I installed Doom Emacs as guided by the README, but can't seem to figure out how to make shellcheck, pandoc, nixfmt, etc available to Doom:

{ pkgs, config, ... }:

{
  programs.doom-emacs = {
    enable = true;
    doomDir = ../../dotfiles/doom;
    emacs = pkgs.emacs29-pgtk;
    extraPackages = epkgs: config.programs.emacs.extraPackages epkgs ++ [ epkgs.treesit-grammars.with-all-grammars ];
    extraBinPackages = with pkgs; [ git ripgrep fd shellcheck pandoc nixfmt-classic nodePackages.npm ];
  };
  services.emacs.enable = true;
}

What is the intended way to actually have Doom access these modules? Any help would be greatly appreciated! Big thank you for creating this, very cool!

KamWithK commented 1 week ago

Nevermind I'm dumb and was rerunning the wrong flake... Figured it all out promptly after I realized lol