summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Cullmann <christoph@cullmann.io>2024-08-04 16:25:50 +0200
committerChristoph Cullmann <christoph@cullmann.io>2024-08-04 16:25:50 +0200
commit8c8499796e9dd6c2d798597249ab9c01fb810279 (patch)
tree9603358b3e99a56c38f0ae2c8637282a26f3cd74
parent0b8ae3bbc67f7e243211400342ce063a54d5ccd4 (diff)
other fonts
-rw-r--r--share/common.nix32
1 files changed, 7 insertions, 25 deletions
diff --git a/share/common.nix b/share/common.nix
index 09aac82..62489f2 100644
--- a/share/common.nix
+++ b/share/common.nix
@@ -408,41 +408,23 @@ in
# add ~/bin to PATH
environment.homeBinInPath = true;
- # more fonts for all users
+ # fonts for all users
fonts = {
- # default fonts
- enableDefaultPackages = true;
+ # no default fonts
+ enableDefaultPackages = false;
# ensure we have an emulated global fontdir
fontDir.enable = true;
- # more fonts
- packages = with pkgs; [
- # good coding and terminal font
- cascadia-code
-
- # good UI font
- inter
-
- # unicode capable fonts
- babelstone-han
- dejavu_fonts
- ipafont
- kochi-substitute
- noto-fonts
- noto-fonts-cjk
- noto-fonts-cjk-sans
- noto-fonts-cjk-serif
- noto-fonts-extra
- noto-fonts-emoji
- ];
+ # Nerd Fonts for the win
+ packages = [ pkgs.nerdfonts ];
# tune fontconfig
fontconfig = {
# better default fonts
defaultFonts = {
- monospace = ["Cascadia Code"];
- sansSerif = ["Inter"];
+ monospace = ["JetBrainsMono Nerd Font Mono"];
+ sansSerif = ["M+1 Nerd Font"];
};
};
};