nixos-config/nixos/system/desktop/home-manager/doom-emacs.nix
2022-07-29 19:02:24 +02:00

17 lines
452 B
Nix

{ pkgs, lib, ... }: {
home-manager.users.mainUser = {
programs.doom-emacs = {
enable = lib.mkDefault true;
doomPrivateDir = ./doom.d;
emacsPackagesOverlay = self: super: {
# fixes https://github.com/vlaci/nix-doom-emacs/issues/394
gitignore-mode = pkgs.emacsPackages.git-modes;
gitconfig-mode = pkgs.emacsPackages.git-modes;
};
};
};
environment.systemPackages = [
pkgs.ripgrep
];
}