Break fonts out into their own module

More will go here
This commit is contained in:
Griffin Smith 2020-05-04 13:14:02 -04:00
parent 46cd32c557
commit 7ff91eb99a
3 changed files with 15 additions and 5 deletions

View file

@ -4,6 +4,8 @@ let machine = ./machines/chupacabra.nix; in
{
imports = [
./modules/alacritty.nix
./modules/alsi.nix
./modules/development.nix
./modules/emacs.nix
./modules/email.nix
./modules/firefox.nix

View file

@ -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 = {

12
system/modules/fonts.nix Normal file
View file

@ -0,0 +1,12 @@
{ config, lib, pkgs, ... }:
{
fonts = {
fonts = with pkgs; [
nerdfonts
noto-fonts-emoji
twitter-color-emoji
];
fontconfig.defaultFonts.emoji = ["Twitter Color Emoji"];
};
}