This commit is contained in:
twoneis 2025-02-28 19:32:44 +01:00
parent 42d04f49fe
commit 606e382083
53 changed files with 1319 additions and 967 deletions

View file

@ -1,21 +1,27 @@
{ lib, config, pkgs, ... }: let
{
lib,
config,
pkgs,
...
}: let
inherit (lib) mkIf;
inherit (config) conf;
in mkIf conf.fonts.enable {
fonts = {
packages = with pkgs; [
alegreya
alegreya-sans
nerd-fonts.fira-code
roboto
ubuntu_font_family
];
fontconfig = {
defaultFonts = {
serif = [ "Alegreya" ];
sansSerif = [ "Alegreya Sans" ];
monospace = [ "Fira Code Nerd Font" ];
in
mkIf conf.fonts.enable {
fonts = {
packages = with pkgs; [
alegreya
alegreya-sans
nerd-fonts.fira-code
roboto
ubuntu_font_family
];
fontconfig = {
defaultFonts = {
serif = ["Alegreya"];
sansSerif = ["Alegreya Sans"];
monospace = ["Fira Code Nerd Font"];
};
};
};
};
}
}