Extract fontconfig configs

This commit is contained in:
monologiq 2025-12-24 15:05:29 +01:00
parent efecd38dbc
commit a32f74e268
2 changed files with 29 additions and 30 deletions

View file

@ -200,35 +200,7 @@ in
trusted-public-keys = [ "cache.nixos-cuda.org:74DUi4Ye579gUqzH4ziL9IyiJBlDpMRn9MBN8oNan9M=" ]; trusted-public-keys = [ "cache.nixos-cuda.org:74DUi4Ye579gUqzH4ziL9IyiJBlDpMRn9MBN8oNan9M=" ];
}; };
# FONTS fonts.fontconfig.enable = true;
fonts.fontconfig = {
enable = true;
antialias = true;
hinting = {
enable = true;
style = "slight";
};
subpixel = {
rgba = "rgb";
lcdfilter = "default";
};
defaultFonts = {
serif = [
"SF Pro"
"DejaVu Serif"
];
sansSerif = [
"SF Pro"
"DejaVu Sans"
];
monospace = [
"Iosevka Cavalier"
"DejaVu Sans Mono"
];
emoji = [ "Noto Color Emoji" ];
};
};
fonts.packages = with pkgs; [ fonts.packages = with pkgs; [
apple-fonts.sf-pro apple-fonts.sf-pro
noto-fonts-cjk-sans noto-fonts-cjk-sans

View file

@ -27,6 +27,33 @@ in
}; };
}; };
fonts.fontconfig = {
antialias = true;
hinting = {
enable = true;
style = "slight";
};
subpixel = {
rgba = "rgb";
lcdfilter = "default";
};
defaultFonts = {
serif = [
"SF Pro"
"DejaVu Serif"
];
sansSerif = [
"SF Pro"
"DejaVu Sans"
];
monospace = [
"Iosevka Cavalier"
"DejaVu Sans Mono"
];
emoji = [ "Noto Color Emoji" ];
};
};
hardware.bluetooth = { hardware.bluetooth = {
settings = { settings = {
General.Experimental = true; General.Experimental = true;