diff options
| author | Stefan Weigl-Bosker <stefan@s00.xyz> | 2025-06-23 15:21:07 -0400 |
|---|---|---|
| committer | Stefan Weigl-Bosker <stefan@s00.xyz> | 2025-06-23 15:21:07 -0400 |
| commit | 3418ee0085b2d4efab4588b2888f56e82db738c8 (patch) | |
| tree | 693609bfcda1c4ed3c6fb16a9034a21a9345f1de /modules/global.nix | |
| parent | 64f1e7926ce5e62558b582a272734d7998eaddb2 (diff) | |
| download | home-3418ee0085b2d4efab4588b2888f56e82db738c8.tar.gz | |
refactor: integrate fontconfig support
Diffstat (limited to 'modules/global.nix')
| -rw-r--r-- | modules/global.nix | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/modules/global.nix b/modules/global.nix index 7bb28be..ff79f66 100644 --- a/modules/global.nix +++ b/modules/global.nix @@ -72,7 +72,15 @@ in }; }; - fonts.fontconfig.enable = true; + fonts.fontconfig = { + enable = true; + defaultFonts = { + monospace = [ "NotoMono Nerd Font Mono" ]; + sansSerif = [ "Noto Sans" ]; + serif = [ "Noto Serif" ]; + emoji = [ "Noto Color Emoji"]; + }; + }; dconf = { enable = true; @@ -126,8 +134,10 @@ in binaryninja tamzen roboto + roboto-serif cozette inter + noto-fonts material-icons ] ++ (builtins.filter lib.attrsets.isDerivation (builtins.attrValues pkgs.nerd-fonts)) ++ (lib.optional cfg.notNixOS nixgl.auto.nixGLDefault) |