module(doom): Use nix-doom-unstraight instead of emacs module

This commit is contained in:
ulic-youthlic 2025-07-13 06:04:55 +08:00
parent fa915b96f7
commit d0581706fe
Signed by: youthlic
GPG key ID: 63E86C3C14A0D721
9 changed files with 374 additions and 5 deletions

View file

@ -0,0 +1,29 @@
;; -*- lexical-binding: t; -*-
;;; Fix non-POSIX SHELL
(setq shell-file-name
(executable-find "bash"))
(let ((fish-exe (executable-find "fish")))
(setq-default vterm-shell
fish-exe)
(setq-default explicit-shell-file-name
fish-exe))
(setq doom-font (font-spec
:family "Maple Mono NF CN"
:size 18)
doom-variable-pitch-font (font-spec
:family "Source Han Serif SC"
:size 17)
doom-emoji-font (font-spec
:family "Noto Color Emoji")
doom-symbol-font (font-spec
:family "Maple Mono NF CN"
:size 18)
doom-serif-font (font-spec
:family "Libertinus Serif"
:size 17)
doom-big-font (font-spec
:family "Maple Mono NF CN"))
(setq doom-theme 'doom-gruvbox)
;;; Fix failure to loacate 'Symbols Nerd Font Mono' font
(setq nerd-icons-font-family "Maple Mono NF CN")