Switch sans-serif font to Cantarell
This commit is contained in:
parent
cccdd870b7
commit
9df5301f0f
4 changed files with 24 additions and 33 deletions
|
@ -453,7 +453,7 @@
|
|||
programs = {
|
||||
sway = {
|
||||
enable = true;
|
||||
package = pkgs.swayfx;
|
||||
# package = pkgs.swayfx;
|
||||
wrapperFeatures = {
|
||||
gtk = true;
|
||||
base = true;
|
||||
|
|
|
@ -18,10 +18,7 @@
|
|||
desktop = {
|
||||
enable = false;
|
||||
};
|
||||
fonts = {
|
||||
enable = false;
|
||||
iosevka-aile = false;
|
||||
};
|
||||
fonts.enable = false;
|
||||
gnome.enable = false;
|
||||
klipper.enable = true;
|
||||
lightdm.enable = false;
|
||||
|
|
|
@ -13,42 +13,36 @@ in
|
|||
{
|
||||
options.eboskma.fonts = {
|
||||
enable = mkEnableOption "activate fonts";
|
||||
iosevka-aile = mkOption {
|
||||
description = "Install Iosevka Aile";
|
||||
type = types.bool;
|
||||
default = true;
|
||||
};
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
fonts = {
|
||||
fontDir.enable = true;
|
||||
|
||||
packages =
|
||||
with pkgs;
|
||||
[
|
||||
nerd-fonts.iosevka
|
||||
nerd-fonts.meslo-lg
|
||||
nerd-fonts.monaspace
|
||||
nerd-fonts.noto
|
||||
nerd-fonts.recursive-mono
|
||||
corefonts
|
||||
dejavu_fonts
|
||||
google-fonts
|
||||
kochi-substitute
|
||||
material-icons
|
||||
monaspace
|
||||
noto-fonts-emoji
|
||||
recursive
|
||||
ttf_bitstream_vera
|
||||
twitter-color-emoji
|
||||
]
|
||||
++ lib.optional cfg.iosevka-aile iosevka-aile;
|
||||
packages = with pkgs; [
|
||||
nerd-fonts.iosevka
|
||||
nerd-fonts.meslo-lg
|
||||
nerd-fonts.monaspace
|
||||
nerd-fonts.noto
|
||||
nerd-fonts.recursive-mono
|
||||
cantarell-fonts
|
||||
corefonts
|
||||
dejavu_fonts
|
||||
google-fonts
|
||||
kochi-substitute
|
||||
material-icons
|
||||
monaspace
|
||||
noto-fonts-emoji
|
||||
recursive
|
||||
ttf_bitstream_vera
|
||||
twitter-color-emoji
|
||||
iosevka-aile
|
||||
];
|
||||
|
||||
fontconfig = {
|
||||
defaultFonts = {
|
||||
serif = [ "Recursive Sans Casual Static Medium" ];
|
||||
sansSerif = [ (if cfg.iosevka-aile then "Iosevka Aile" else "DejaVu Sans") ];
|
||||
sansSerif = [ "Cantarell Regular" ];
|
||||
monospace = [ "Iosevka Nerd Font" ];
|
||||
emoji = [ "Twitter Color Emoji" ];
|
||||
};
|
||||
|
|
|
@ -54,9 +54,9 @@ in
|
|||
};
|
||||
|
||||
font = {
|
||||
name = "Monaspace Neon";
|
||||
name = "Cantarell Regular";
|
||||
size = 16;
|
||||
package = pkgs.monaspace;
|
||||
package = pkgs.cantarell-fonts;
|
||||
};
|
||||
|
||||
settings = {
|
||||
|
|
Loading…
Reference in a new issue