emacs changes

This commit is contained in:
Charlie Root 2024-08-20 16:43:24 +02:00
commit da16d2af27
3 changed files with 41 additions and 83 deletions

View file

@ -4,22 +4,23 @@
pkgs,
...
}: let
inherit (lib.types) optional;
inherit (config.modules.system.fonts) extraFonts;
inherit (config.modules.other.system) username;
in {
# A (somewhat) sane list of default fonts to be installed.
fonts.packages = with pkgs; [
material-design-icons
papirus-icon-theme
(nerdfonts.override {fonts = ["ComicShannsMono"];}) # ComicShanns my beloved
noto-fonts
noto-fonts-cjk-sans
noto-fonts-cjk-serif
noto-fonts-color-emoji
corefonts
];
# ++ optional (extraFonts != null) extraFonts;
fonts.packages = with pkgs;
[
etBook
material-design-icons
papirus-icon-theme
(nerdfonts.override {fonts = ["ComicShannsMono"];}) # ComicShanns my beloved
noto-fonts
noto-fonts-cjk-sans
noto-fonts-cjk-serif
noto-fonts-color-emoji
corefonts
]
++ extraFonts;
# this fixes emoji stuff
home-manager.users.${username} = {
fonts.fontconfig = {