Signed-off-by: Harald Hoyer <harald@hoyer.xyz>
This commit is contained in:
Harald Hoyer 2024-11-19 10:31:29 +01:00
parent a3187e163d
commit 900f95169f
83 changed files with 1134 additions and 705 deletions

View file

@ -1,8 +1,15 @@
{ options, config, pkgs, lib, ... }:
{
options,
config,
pkgs,
lib,
...
}:
with lib;
with lib.metacfg;
let cfg = config.metacfg.system.fonts;
let
cfg = config.metacfg.system.fonts;
in
{
options.metacfg.system.fonts = with types; {
@ -17,14 +24,16 @@ in
};
fonts = {
packages = with pkgs;
packages =
with pkgs;
[
noto-fonts
noto-fonts-cjk-sans
noto-fonts-cjk-serif
noto-fonts-emoji
(nerdfonts.override { fonts = [ "Hack" ]; })
] ++ cfg.fonts;
]
++ cfg.fonts;
};
};
}