about summary refs log tree commit diff
path: root/modules/nixos/common
diff options
context:
space:
mode:
authorAzat Bahawi <azat@bahawi.net>2024-03-19 10:51:20 +0300
committerAzat Bahawi <azat@bahawi.net>2024-03-19 10:51:20 +0300
commit80bdf22e9f97bdbb6d5a720dcc705fb55f3bc299 (patch)
tree92c18febe273f94d488a17d9bfdeeade4f3aaaef /modules/nixos/common
parent2024-03-17 (diff)
2024-03-19
Diffstat (limited to 'modules/nixos/common')
-rw-r--r--modules/nixos/common/stylix.nix9
1 files changed, 5 insertions, 4 deletions
diff --git a/modules/nixos/common/stylix.nix b/modules/nixos/common/stylix.nix
index 7ac7fa7..5ca5571 100644
--- a/modules/nixos/common/stylix.nix
+++ b/modules/nixos/common/stylix.nix
@@ -17,26 +17,27 @@ with lib; {
   fonts = {
     packages = mkAfter config.nixfiles.modules.common.stylix.fonts.extraPackages;
 
-    fontconfig.defaultFonts = {
+    fontconfig.defaultFonts = with config.stylix.fonts; {
       serif = mkForce [
-        "Iosevka Etoile"
+        serif.name
         "Sarasa Gothic"
         "Source Han Serif"
         "Noto Serif"
       ];
       sansSerif = mkForce [
-        "Iosevka Aile"
+        sansSerif.name
         "Sarasa Gothic"
         "Source Han Sans"
         "Noto Sans"
       ];
       monospace = mkForce [
-        "Iosevka SS15"
+        monospace.name
         "Sarasa Mono"
         "Source Han Mono"
         "Noto Sans Mono"
       ];
       emoji = mkForce [
+        "Twitter Color Emoji"
         "Noto Color Emoji"
       ];
     };

Consider giving Nix/NixOS a try! <3