Move fonts.nix to hephaestus

This commit is contained in:
2025-04-18 11:29:07 -04:00
parent e4606f9638
commit 5046fc76e5
3 changed files with 22 additions and 25 deletions

View File

@@ -73,7 +73,6 @@
inherit vpngate; inherit vpngate;
}; };
modules = [ modules = [
./fonts.nix
./hosts/hephaestus.nix ./hosts/hephaestus.nix
./common-packages.nix ./common-packages.nix
./upgrade-diff.nix ./upgrade-diff.nix

View File

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

View File

@@ -146,6 +146,28 @@ in
}; };
}; };
fonts.packages = with pkgs; [
dejavu_fonts
fira-code
fira-code-symbols
fira-mono
font-awesome
google-fonts
liberation_ttf
nerdfonts
noto-fonts
noto-fonts-cjk-sans
noto-fonts-emoji
noto-fonts-extra
];
fonts.fontconfig.defaultFonts = {
sansSerif = [ "Noto Sans" ];
serif = [ "Noto Serif" ];
monospace = [ "Noto Sans Mono" ];
emoji = [ "Noto Color Emoji" ];
};
nixpkgs = { nixpkgs = {
hostPlatform = "x86_64-linux"; hostPlatform = "x86_64-linux";
config = { config = {