diff options
| author | Arpit Chakladar <54011232+arpitchakladar@users.noreply.github.com> | 2024-10-15 04:21:26 +0530 |
|---|---|---|
| committer | Arpit Chakladar <54011232+arpitchakladar@users.noreply.github.com> | 2024-10-15 04:21:26 +0530 |
| commit | a4fb9a83d671a4c7f3ed44df77cdee36604b5411 (patch) | |
| tree | d52ba573a132c218be5e0cab67524ed2cd54ae93 /modules/fonts | |
| parent | 2352b6907387b778623d8f09969cca6cb739ccc0 (diff) | |
| download | home-manager-config-a4fb9a83d671a4c7f3ed44df77cdee36604b5411.tar.gz home-manager-config-a4fb9a83d671a4c7f3ed44df77cdee36604b5411.zip | |
Refactoring code.
Stopped using picom.
Disabled unused packages and configurations.
Diffstat (limited to 'modules/fonts')
| -rw-r--r-- | modules/fonts/default.nix | 3 | ||||
| -rw-r--r-- | modules/fonts/nerdfont/fira-code/default.nix | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/modules/fonts/default.nix b/modules/fonts/default.nix index efb8802..c5d552c 100644 --- a/modules/fonts/default.nix +++ b/modules/fonts/default.nix @@ -10,16 +10,19 @@ 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."; diff --git a/modules/fonts/nerdfont/fira-code/default.nix b/modules/fonts/nerdfont/fira-code/default.nix index 94381b4..f354c9f 100644 --- a/modules/fonts/nerdfont/fira-code/default.nix +++ b/modules/fonts/nerdfont/fira-code/default.nix @@ -7,6 +7,7 @@ config = lib.mkIf config.fonts.nerdfont.fira-code.enable { fonts.normal = lib.mkDefault "Fira Code Nerd Font"; + home.packages = with pkgs; [ (nerdfonts.override { fonts = [ |
