about summary refs log tree commit diff
path: root/modules/common/stylix.nix
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--modules/common/stylix.nix8
1 files changed, 6 insertions, 2 deletions
diff --git a/modules/common/stylix.nix b/modules/common/stylix.nix
index c7409b5..f1e0417 100644
--- a/modules/common/stylix.nix
+++ b/modules/common/stylix.nix
@@ -27,7 +27,6 @@ with lib;
       source-han-mono
       source-han-sans
       source-han-serif
-      twitter-color-emoji
     ];
     readOnly = true;
   };
@@ -63,6 +62,11 @@ with lib;
           name = "Iosevka Aile";
         };
 
+        emoji = {
+          package = pkgs.twitter-color-emoji;
+          name = "Twitter Color Emoji";
+        };
+
         sizes = {
           desktop = 10;
           applications = 10;
@@ -103,7 +107,7 @@ with lib;
             "Noto Sans Mono"
           ];
           emoji = mkForce [
-            "Twitter Color Emoji"
+            emoji.name
             "Noto Color Emoji"
           ];
         };

Consider giving Nix/NixOS a try! <3