aboutsummaryrefslogtreecommitdiffstats
path: root/modules/fonts/default.nix
blob: c5d552c23f5c02f269126908a5af97a5a7fd39e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{ lib, config, ... }:

{
	imports = [
		./nerdfont
	];

	options.fonts = {
		normal = lib.mkOption {
			type = lib.types.str;
			description = "Default normal font name.";
		};

		bold = lib.mkOption {
			type = lib.types.str;
			description = "Default bold font name.";
			default = config.fonts.normal;
		};

		italic = lib.mkOption {
			type = lib.types.str;
			description = "Default italic font name.";
			default = config.fonts.normal;
		};

		size = lib.mkOption {
			type = lib.types.int;
			description = "Default font size.";
			default = 16;
		};
	};
}