stylix(fonts): set default fonts (systemwide)
This commit is contained in:
parent
a6b29abff8
commit
68f0b61837
2 changed files with 22 additions and 1 deletions
|
|
@ -1,4 +1,4 @@
|
||||||
{ breezex-cursor, system, ... }:
|
{ breezex-cursor, system, pkgs, ... }:
|
||||||
{
|
{
|
||||||
stylix = {
|
stylix = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
@ -15,6 +15,23 @@
|
||||||
name = "BreezeX-Light";
|
name = "BreezeX-Light";
|
||||||
size = 24;
|
size = 24;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
fonts = {
|
||||||
|
monospace = {
|
||||||
|
name = "VictorMono Nerd Font";
|
||||||
|
package = pkgs.nerdfonts;
|
||||||
|
};
|
||||||
|
|
||||||
|
sansSerif = {
|
||||||
|
name = "IBM Plex Sans";
|
||||||
|
package = pkgs.ibm-plex;
|
||||||
|
};
|
||||||
|
|
||||||
|
serif = {
|
||||||
|
name = "CMU Serif";
|
||||||
|
package = pkgs.cm_unicode;
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
# fix cursor size for some apps
|
# fix cursor size for some apps
|
||||||
|
|
|
||||||
|
|
@ -175,10 +175,14 @@
|
||||||
fonts = {
|
fonts = {
|
||||||
packages = with pkgs; [
|
packages = with pkgs; [
|
||||||
nerdfonts
|
nerdfonts
|
||||||
|
ibm-plex
|
||||||
|
cm_unicode
|
||||||
];
|
];
|
||||||
fontconfig = {
|
fontconfig = {
|
||||||
defaultFonts = {
|
defaultFonts = {
|
||||||
monospace = [ "VictorMono NF Medium" ];
|
monospace = [ "VictorMono NF Medium" ];
|
||||||
|
sansSerif = [ "IBM Plex Sans" ];
|
||||||
|
serif = [ "CMU Serif" ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue