Add iosevka

This commit is contained in:
Nathan McCarty 2023-03-14 12:42:56 -04:00
parent f4ad80ef9f
commit e6d6e08621
Signed by: thatonelutenist
GPG Key ID: D70DA3DD4D1E9F96
4 changed files with 34 additions and 14 deletions

View File

@ -18,12 +18,12 @@ in with lib; {
ALACRITTY = "1"; ALACRITTY = "1";
}; };
font = { font = {
normal.family = "FiraCode Nerd Font"; normal.family = "Iosevka Term";
bold.family = "FiraCode Nerd Font"; bold.family = "Iosevka Term";
italic.family = "FiraCode Nerd Font"; italic.family = "Iosevka Term";
bold_italic.family = "FiraCode Nerd Font"; bold_italic.family = "Iosevka Term";
# Bigger on darwin # Bigger on darwin
size = if pkgs.stdenv.isLinux then 9.0 else 11.0; size = if pkgs.stdenv.isLinux then 10.0 else 12.0;
}; };
colors = { colors = {
primary = { primary = {

View File

@ -96,7 +96,7 @@ in with lib; {
terminal = "alacritty"; terminal = "alacritty";
# Use krunner (from kde) as our launcher # Use krunner (from kde) as our launcher
menu = '' menu = ''
fuzzel -f "Fira Sans" -b "103c48ff" -S "adbcbcff" -s "184956ff" -t "72898fff" -B 5 -r 5 -C "ed8649ff" fuzzel -f "Iosevka Sans Quasi" -b "103c48ff" -S "adbcbcff" -s "184956ff" -t "72898fff" -B 5 -r 5 -C "ed8649ff"
''; '';
# Use waybar, but through systemd # Use waybar, but through systemd
bars = [ bars = [
@ -104,9 +104,9 @@ in with lib; {
# command = "waybar"; # command = "waybar";
# } # }
]; ];
# Use fira # Use Iosevka
fonts = { fonts = {
names = [ "Fira Sans" ]; names = [ "Iosevka Sans Quasi" ];
size = 10.0; size = 10.0;
}; };
# Selenize it # Selenize it
@ -194,8 +194,8 @@ in with lib; {
textColor = "#adbcbc"; textColor = "#adbcbc";
# Border configuration # Border configuration
borderSize = 3; borderSize = 3;
# Use Fira Code for font # Use Iosevka for font
font = "Fira Sans 10"; font = "Iosevka Sans Quasi 10";
# Group by application # Group by application
groupBy = "app-name"; groupBy = "app-name";
# Bottom right corner # Bottom right corner
@ -266,7 +266,7 @@ in with lib; {
style = '' style = ''
* { * {
/* `otf-font-awesome` is required to be installed for icons */ /* `otf-font-awesome` is required to be installed for icons */
font-family: FontAwesome, Fira; font-family: FontAwesome, Iosevka Sans Quasi;
font-size: 14px; font-size: 14px;
} }

View File

@ -6,13 +6,23 @@ in with lib; {
fonts.fonts = with pkgs; [ fonts.fonts = with pkgs; [
## Monospace Fonts ## Monospace Fonts
# FiraCode with nerd-fonts patch, as well as fira-code symbols for emacs # FiraCode with nerd-fonts patch, as well as fira-code symbols for emacs
(nerdfonts.override { fonts = [ "FiraCode" ]; }) (nerdfonts.override { fonts = [ "FiraCode" "Iosevka" ]; })
fira-code-symbols fira-code-symbols
fira fira
# Proportional # Proportional
roboto roboto
liberation_ttf liberation_ttf
noto-fonts noto-fonts
(iosevka.override {
privateBuildPlan = ''
[buildPlans.iosevka-sans-quasi]
family = "Iosevka Sans Quasi"
spacing = "quasi-proportional"
serifs = "sans"
no-cv-ss = true
export-glyph-names = false'';
set = "sans-quasi";
})
]; ];
}; };
} }

View File

@ -65,13 +65,23 @@ in with lib; {
fonts.fonts = with pkgs; [ fonts.fonts = with pkgs; [
## Monospace Fonts ## Monospace Fonts
# FiraCode with nerd-fonts patch, as well as fira-code symbols for emacs # FiraCode with nerd-fonts patch, as well as fira-code symbols for emacs
(nerdfonts.override { fonts = [ "FiraCode" ]; }) (nerdfonts.override { fonts = [ "FiraCode" "Iosevka" ]; })
fira-code-symbols fira-code-symbols
fira fira
# Proportional ## Proportional
roboto roboto
liberation_ttf liberation_ttf
noto-fonts noto-fonts
(iosevka.override {
privateBuildPlan = ''
[buildPlans.iosevka-sans-quasi]
family = "Iosevka Sans Quasi"
spacing = "quasi-proportional"
serifs = "sans"
no-cv-ss = true
export-glyph-names = false'';
set = "sans-quasi";
})
]; ];
}) })
]; ];