diff options
| author | Arpit Chakladar <54011232+arpitchakladar@users.noreply.github.com> | 2024-09-26 23:53:50 +0530 |
|---|---|---|
| committer | Arpit Chakladar <54011232+arpitchakladar@users.noreply.github.com> | 2024-09-27 00:04:04 +0530 |
| commit | b20945970ba46999c8c4f234ea0456ca368e179a (patch) | |
| tree | 63fe1a428af8dfc6b57371bfc9b7795d491422c4 /modules/fonts/default.nix | |
| parent | 86aaaabfd153a1710b6773f17925d2e5191bf522 (diff) | |
| download | home-manager-config-b20945970ba46999c8c4f234ea0456ca368e179a.tar.gz home-manager-config-b20945970ba46999c8c4f234ea0456ca368e179a.zip | |
Using kitty terminal instead of alacritty.
Setup xdg-desktop-portal.
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; + }; + }; +} |
