From b20945970ba46999c8c4f234ea0456ca368e179a Mon Sep 17 00:00:00 2001 From: Arpit Chakladar <54011232+arpitchakladar@users.noreply.github.com> Date: Thu, 26 Sep 2024 23:53:50 +0530 Subject: Using kitty terminal instead of alacritty. Setup xdg-desktop-portal. --- modules/fonts/default.nix | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 modules/fonts/default.nix (limited to 'modules/fonts/default.nix') 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; + }; + }; +} -- cgit v1.2.3