Attemping to import fonts.nix to keep fonts org'zd

This commit is contained in:
Zonsopkomst 2023-05-19 10:52:23 -05:00
parent 78a1f3a3a3
commit aa1c4e0692
5 changed files with 31 additions and 12 deletions

13
common/fonts.nix Normal file
View File

@ -0,0 +1,13 @@
{ config, pkgs, ... }:
{
fonts.fontDir.enable = true;
fonts.fonts = with pkgs; [
corefonts # Microsoft Core Fonts
roboto # Android Family of Fonts
noto-fonts-cjk-sans # CJK Family of Fonts
noto-fonts-cjk-serif # CJK Family of Fonts
(nerdfonts.override { fonts = [ "FiraCode" "jetbrains-mono" "SpaceMono" ]; })
];
}

View File

@ -4,11 +4,12 @@
fonts.fontDir.enable = true;
fonts.fonts = with pkgs; [
comfortaa # Modern Rounded Font
corefonts # Microsoft Core Fonts
roboto # Android Family of Fonts
noto-fonts-cjk-sans # CJK Family of Fonts
noto-fonts-cjk-serif # CJK Family of Fonts
(nerdfonts.override { fonts = [ "FiraCode" "SpaceMono" ]; })
(nerdfonts.override { fonts = [ "FiraCode" "jetbrains-mono" "SpaceMono" ]; })
];
environment.systemPackages = with pkgs; [

View File

@ -4,11 +4,12 @@
fonts.fontDir.enable = true;
fonts.fonts = with pkgs; [
comfortaa # Modern Rounded Font
corefonts # Microsoft Core Fonts
roboto # Android Family of Fonts
noto-fonts-cjk-sans # CJK Family of Fonts
noto-fonts-cjk-serif # CJK Family of Fonts
(nerdfonts.override { fonts = [ "FiraCode" "SpaceMono" ]; })
(nerdfonts.override { fonts = [ "FiraCode" "jetbrains-mono" "SpaceMono" ]; })
];
environment.systemPackages = with pkgs;

View File

@ -1,15 +1,19 @@
{ config, pkgs, ... }:
{
fonts.fontDir.enable = true;
fonts.fonts = with pkgs; [
corefonts # Microsoft Core Fonts
roboto # Android Family of Fonts
noto-fonts-cjk-sans # CJK Family of Fonts
noto-fonts-cjk-serif # CJK Family of Fonts
(nerdfonts.override { fonts = [ "FiraCode" "SpaceMono" ]; })
];
# TODO attempting to import a fonts file for all systems
imports = [ ../../common/fonts.nix ];
# fonts.fontDir.enable = true;
#
# fonts.fonts = with pkgs; [
# comfortaa # Modern Rounded Font
# corefonts # Microsoft Core Fonts
# roboto # Android Family of Fonts
# noto-fonts-cjk-sans # CJK Family of Fonts
# noto-fonts-cjk-serif # CJK Family of Fonts
# (nerdfonts.override { fonts = [ "FiraCode" "jetbrains-mono" "SpaceMono" ]; })
# ];
environment.systemPackages = with pkgs; [
adw-gtk3 # GTK3 libadwaita Theme ported to GTK-3

View File

@ -8,7 +8,7 @@
roboto # Android Family of Fonts
noto-fonts-cjk-sans # CJK Family of Fonts
noto-fonts-cjk-serif # CJK Family of Fonts
(nerdfonts.override { fonts = [ "FiraCode" "SpaceMono" ]; })
(nerdfonts.override { fonts = [ "FiraCode" "jetbrains-mono" "SpaceMono" ]; })
];
environment.systemPackages = with pkgs; [