Refactor main into a common dir

This commit is contained in:
Dave Gallant
2021-06-24 22:43:32 -04:00
parent 152749f02d
commit d4bc0d6f75
12 changed files with 25 additions and 25 deletions

26
common/fonts.nix Normal file
View File

@@ -0,0 +1,26 @@
{ pkgs, ... }:
{
# Set system-wide fonts.
fonts.fonts = with pkgs; [
dejavu_fonts
fira-code
fira-code-symbols
fira-mono
font-awesome
google-fonts
liberation_ttf
noto-fonts
noto-fonts-cjk
noto-fonts-emoji
noto-fonts-extra
];
# Set default fonts.
fonts.fontconfig.defaultFonts = {
sansSerif = [ "Noto Sans" ];
serif = [ "Noto Serif" ];
monospace = [ "Noto Sans Mono" ];
emoji = [ "Noto Color Emoji" ];
};
}