first cleanup of desktop stuff
This commit is contained in:
parent
46a05c6837
commit
6940d9a942
44 changed files with 1054 additions and 1424 deletions
nixos/components/gui/home-manager
28
nixos/components/gui/home-manager/doom-emacs.nix
Normal file
28
nixos/components/gui/home-manager/doom-emacs.nix
Normal file
|
@ -0,0 +1,28 @@
|
|||
{ config, pkgs, lib, ... }: {
|
||||
|
||||
config = lib.mkIf config.components.gui.enable {
|
||||
home-manager.users.mainUser = {
|
||||
programs.doom-emacs = {
|
||||
enable = lib.mkDefault true;
|
||||
doomPrivateDir = ./doom.d;
|
||||
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))
|
||||
'';
|
||||
|
||||
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
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue