From 7ff91eb99a77364e1404a11c4ae1d34101138736 Mon Sep 17 00:00:00 2001 From: Griffin Smith Date: Mon, 4 May 2020 13:14:02 -0400 Subject: Break fonts out into their own module More will go here --- system/modules/common.nix | 6 +----- system/modules/fonts.nix | 12 ++++++++++++ 2 files changed, 13 insertions(+), 5 deletions(-) create mode 100644 system/modules/fonts.nix (limited to 'system') 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"]; + }; +} -- cgit 1.4.1