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 = {
|
||||
enable = true;
|
||||
|
|
@ -15,6 +15,23 @@
|
|||
name = "BreezeX-Light";
|
||||
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
|
||||
|
|
|
|||
|
|
@ -175,10 +175,14 @@
|
|||
fonts = {
|
||||
packages = with pkgs; [
|
||||
nerdfonts
|
||||
ibm-plex
|
||||
cm_unicode
|
||||
];
|
||||
fontconfig = {
|
||||
defaultFonts = {
|
||||
monospace = [ "VictorMono NF Medium" ];
|
||||
sansSerif = [ "IBM Plex Sans" ];
|
||||
serif = [ "CMU Serif" ];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue