2023-02-16 13:52:15 +01:00
|
|
|
{ config, 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-07-29 19:02:24 +02:00
|
|
|
enable = lib.mkDefault true;
|
2021-09-25 15:47:19 +02:00
|
|
|
doomPrivateDir = ./doom.d;
|
2023-02-16 13:52:15 +01:00
|
|
|
extraConfig = ''
|
|
|
|
;; "monospace" means use the system default. However, the default is usually two
|
|
|
|
;; points larger than I'd like, so I specify size 12 here.
|
|
|
|
(setq doom-font
|
|
|
|
(font-spec :family "Jetbrains Mono" :size ${toString config.programs.custom.urxvt.fontSize} :weight 'light))
|
|
|
|
;(setq doom-font
|
|
|
|
; (font-spec :family "Terminus" :size ${toString config.programs.custom.urxvt.fontSize} :weight 'light))
|
|
|
|
'';
|
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
|
|
|
}
|