diff options
Diffstat (limited to 'modules/fonts/default.nix')
| -rw-r--r-- | modules/fonts/default.nix | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/modules/fonts/default.nix b/modules/fonts/default.nix new file mode 100644 index 0000000..efb8802 --- /dev/null +++ b/modules/fonts/default.nix @@ -0,0 +1,29 @@ +{ 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; + }; + }; +} |
