aboutsummaryrefslogtreecommitdiff
path: root/system/fonts.nix
diff options
context:
space:
mode:
authorCaroline Larimore <caroline@larimo.re>2024-05-14 17:24:25 -0700
committerCaroline Larimore <caroline@larimo.re>2024-05-14 17:24:25 -0700
commit0dc687871a859f78652ad959f7f9a9df7ee1a2e9 (patch)
treeea892cb26b4c32ad0387a3b047402eef4eef6b40 /system/fonts.nix
parentab0151a45da61c16f18b8a6c158fc8e10a865a1c (diff)
Restructuring
Diffstat (limited to 'system/fonts.nix')
-rw-r--r--system/fonts.nix22
1 files changed, 22 insertions, 0 deletions
diff --git a/system/fonts.nix b/system/fonts.nix
new file mode 100644
index 0000000..89ee17a
--- /dev/null
+++ b/system/fonts.nix
@@ -0,0 +1,22 @@
+{ pkgs, ... }:
+
+{
+ fonts = {
+ packages = with pkgs; [
+ nerdfonts
+ noto-fonts
+ noto-fonts-cjk
+ noto-fonts-cjk-sans
+ noto-fonts-cjk-serif
+ noto-fonts-emoji
+ ];
+
+ fontconfig = {
+ defaultFonts = {
+ monospace = [ "CaskaydiaMono Nerd Font" ];
+ sansSerif = [ "DejaVu Sans" "Noto Sans CJK JP" "Noto Sans" ];
+ serif = [ "DejaVu Serif" "Noto Serif CJK JP" "Noto Serif" ];
+ };
+ };
+ };
+}