nixos-config/nixos/system/desktop/home-manager/doom-emacs.nix

18 lines
452 B
Nix
Raw Normal View History

2022-06-23 09:51:30 +02:00
{ pkgs, lib, ... }: {
2021-09-22 07:30:29 +02:00
home-manager.users.mainUser = {
2021-09-25 15:47:19 +02:00
programs.doom-emacs = {
2022-06-23 09:51:30 +02:00
enable = lib.mkDefault true;
2021-09-25 15:47:19 +02:00
doomPrivateDir = ./doom.d;
2022-01-13 13:40:18 +01:00
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;
};
2021-09-25 15:47:19 +02:00
};
2021-09-22 07:30:29 +02:00
};
2021-09-25 15:47:19 +02:00
environment.systemPackages = [
2021-09-25 15:18:10 +02:00
pkgs.ripgrep
];
2021-09-22 07:30:29 +02:00
}