system/fonts: fix emoji priority
This commit is contained in:
parent
5fec783740
commit
52bc80c387
2 changed files with 28 additions and 23 deletions
|
@ -20,25 +20,15 @@
|
|||
|
||||
font =
|
||||
let
|
||||
family = "Fira Code";
|
||||
family = "monospace";
|
||||
|
||||
mkFont = style: { inherit family style; };
|
||||
in
|
||||
{
|
||||
normal = {
|
||||
inherit family;
|
||||
style = "Regular";
|
||||
};
|
||||
bold = {
|
||||
inherit family;
|
||||
style = "Bold";
|
||||
};
|
||||
italic = {
|
||||
inherit family;
|
||||
style = "Italic";
|
||||
};
|
||||
bold_italic = {
|
||||
inherit family;
|
||||
style = "Bold Italic";
|
||||
};
|
||||
normal = mkFont "Regular";
|
||||
bold = mkFont "Bold";
|
||||
italic = mkFont "Italic";
|
||||
bold_italic = mkFont "Bold Italic";
|
||||
|
||||
size = 11.0;
|
||||
};
|
||||
|
|
|
@ -23,12 +23,27 @@ in
|
|||
# Set your time zone.
|
||||
time.timeZone = "Europe/Moscow";
|
||||
|
||||
fonts.fonts = with pkgs; [
|
||||
fonts = {
|
||||
enableDefaultFonts = true;
|
||||
fonts = with pkgs; [
|
||||
ubuntu_font_family
|
||||
fira-code
|
||||
fira-code-symbols
|
||||
(nerdfonts.override { fonts = [ "FiraCode" ]; })
|
||||
];
|
||||
fontconfig = {
|
||||
defaultFonts = {
|
||||
monospace = [
|
||||
"Fira Code"
|
||||
"FireCode Nerd Font Mono"
|
||||
"emoji"
|
||||
];
|
||||
serif = [ "Ubuntu" "emoji" ];
|
||||
sansSerif = [ "Ubuntu" "emoji" ];
|
||||
emoji = [ "Noto Color Emoji" "Noto Emoji" ];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
# Configure network proxy if necessary
|
||||
# networking.proxy.default = "http://user:password@proxy:port/";
|
||||
|
|
Loading…
Reference in a new issue