chore(nixos): use Fira Code Mono

This commit is contained in:
Oliver Davies 2023-08-24 22:39:35 +01:00
parent 51fbde6ae4
commit 73d1d765cc
2 changed files with 16 additions and 9 deletions

View file

@ -150,7 +150,7 @@ in
# List services that you want to enable:
# Enable the OpenSSH daemon.
# services.openssh.enable = true;
services.openssh.enable = true;
# Open ports in the firewall.
# networking.firewall.allowedTCPPorts = [ ... ];
@ -177,11 +177,18 @@ in
fontconfig = {
enable = true;
defaultFonts = {
monospace = [ "IntelOne Mono" ];
monospace = [ "Fira Code Nerd Font Mono" ];
};
};
fonts = with pkgs; [
intel-one-mono
(nerdfonts.override {
fonts = [
"FiraCode"
"JetBrainsMono"
"Meslo"
];
})
];
};

View file

@ -67,7 +67,7 @@
};
fonts = {
names = [ "DejaVu Sans Mono" ];
names = [ "Fira Code Nerd Font Mono" ];
size = 16.0;
};
@ -230,15 +230,15 @@
};
font = {
size = 12.0;
size = 14.0;
normal.family = "IntelOne Mono";
italic.style = "Regular";
bolditalic.style = "Regular";
bold.style = "Regular";
bolditalic.style = "Regular";
italic.style = "Regular";
normal.family = "Fira Code Nerd Font Mono";
offset.y = 12;
glyph_offset.y = 6;
offset.y = 14;
glyph_offset.y = 8;
};
shell = { program = "zsh"; };