about summary refs log tree commit diff
path: root/modules/nixos/common
diff options
context:
space:
mode:
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