about summary refs log tree commit diff
path: root/system/modules
diff options
context:
space:
mode:
Diffstat (limited to 'system/modules')
-rw-r--r--system/modules/common.nix6
-rw-r--r--system/modules/fonts.nix12
2 files changed, 13 insertions, 5 deletions
diff --git a/system/modules/common.nix b/system/modules/common.nix
index 8d2902eaa6ae..d35298175515 100644
--- a/system/modules/common.nix
+++ b/system/modules/common.nix
@@ -4,6 +4,7 @@
   imports =
     [
       ./xserver.nix
+      ./fonts.nix
       ./emacs.nix
       ./sound.nix
       ./urbint.nix
@@ -84,11 +85,6 @@
 
   nixpkgs.config.allowUnfree = true;
 
-  fonts.fonts = with pkgs; [
-    nerdfonts
-    noto-fonts-emoji
-  ];
-
   services.geoclue2.enable = true;
 
   powerManagement = {
diff --git a/system/modules/fonts.nix b/system/modules/fonts.nix
new file mode 100644
index 000000000000..babe30d4271f
--- /dev/null
+++ b/system/modules/fonts.nix
@@ -0,0 +1,12 @@
+{ config, lib, pkgs, ... }:
+{
+  fonts = {
+    fonts = with pkgs; [
+      nerdfonts
+      noto-fonts-emoji
+      twitter-color-emoji
+    ];
+
+    fontconfig.defaultFonts.emoji = ["Twitter Color Emoji"];
+  };
+}