nichts/modules/options/style/fonts.nix
2024-08-16 10:10:25 +02:00

15 lines
285 B
Nix

{
config,
lib,
...
}: let
inherit (lib) mkOption;
inherit (lib.types) nullOr package listOf;
in {
options.modules.system.fonts = {
# This defines extra fonts to be installed on the system.
extraFonts = mkOption {
type = nullOr (listOf package);
};
};
}