format
This commit is contained in:
parent
42d04f49fe
commit
606e382083
53 changed files with 1319 additions and 967 deletions
|
@ -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"];
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue