diff options
author | Alan Pearce | 2023-05-22 19:08:34 +0200 |
---|---|---|
committer | Alan Pearce | 2023-05-22 19:08:34 +0200 |
commit | 4a4ab6d89a833895e26effa213fbc0e64b5e16ac (patch) | |
tree | dd821f23ce93faed396df5913a7a08528221314c /user/settings | |
parent | d5fc1835ba5d73120ca5c7bc81923c942987e53b (diff) | |
download | nixfiles-4a4ab6d89a833895e26effa213fbc0e64b5e16ac.tar.lz nixfiles-4a4ab6d89a833895e26effa213fbc0e64b5e16ac.tar.zst nixfiles-4a4ab6d89a833895e26effa213fbc0e64b5e16ac.zip |
emacs: fix icons in doom-modeline (breaking change in package)
Diffstat (limited to 'user/settings')
-rw-r--r-- | user/settings/emacs.nix | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/user/settings/emacs.nix b/user/settings/emacs.nix index 696ab267..5b41423e 100644 --- a/user/settings/emacs.nix +++ b/user/settings/emacs.nix @@ -80,9 +80,7 @@ in extraPackages = epkgs: (with epkgs; [ ace-link - all-the-icons almost-mono-themes - all-the-icons apheleia avy capf-autosuggest @@ -138,6 +136,7 @@ in markdown-mode marginalia modus-themes + nerd-icons doom-modeline posframe projectile @@ -170,8 +169,17 @@ in (setq exec-path (parse-colon-path (setenv "PATH" "${pkgs.lib.readFile darwinPath}"))) ''; }; - home.packages = [ + home.packages = with pkgs; [ editorScript + # see https://github.com/NixOS/nixpkgs/blob/nixos-unstable/pkgs/data/fonts/nerdfonts/shas.nix + (nerdfonts.override { + fonts = [ + "NerdFontsSymbolsOnly" + "JetBrainsMono" + "IBMPlexMono" + "iA-Writer" + ]; + }) ]; xdg.configFile."emacs/early-init.el" = { source = ../emacs/early-init.el; |