fonts.nix: cleanup

This commit is contained in:
Charlie Root 2024-09-03 15:34:23 +02:00
commit 31cb4aac81

View file

@ -3,7 +3,6 @@
pkgs, pkgs,
... ...
}: let }: let
inherit (config.modules.other.system) username;
inherit (builtins) mapAttrs; inherit (builtins) mapAttrs;
in { in {
# A (somewhat) sane list of fonts to be installed. # A (somewhat) sane list of fonts to be installed.
@ -59,14 +58,4 @@ in {
decompressFonts = true; decompressFonts = true;
}; };
}; };
# this fixes emoji stuff
home-manager.users.${username} = {
fonts.fontconfig = {
defaultFonts = {
monospace = ["ComicShannsMono Nerd Font" "Noto Color Emoji"];
sansSerif = ["ComicShannsMono Nerd Font" "Noto Color Emoji"];
serif = ["ComicShannsMono Nerd Font" "Noto Color Emoji"];
};
};
};
} }