diff options
| author | Arpit Chakladar <arpitchakladar@proton.me> | 2026-03-10 01:16:16 +0530 |
|---|---|---|
| committer | Arpit Chakladar <arpitchakladar@proton.me> | 2026-03-10 01:16:16 +0530 |
| commit | d6ccf7e455bd6947664d4a44dfe578813fa2b4eb (patch) | |
| tree | 33453e036c9a697e04390db76b55e780c49d05b6 /modules/fonts | |
| parent | 8de0304340919456ce753894a00ea45560ad6ea1 (diff) | |
| download | home-manager-config-d6ccf7e455bd6947664d4a44dfe578813fa2b4eb.tar.gz home-manager-config-d6ccf7e455bd6947664d4a44dfe578813fa2b4eb.zip | |
Some minor refactoring
Diffstat (limited to 'modules/fonts')
| -rw-r--r-- | modules/fonts/default.nix | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/fonts/default.nix b/modules/fonts/default.nix index eee825d..e6c9acb 100644 --- a/modules/fonts/default.nix +++ b/modules/fonts/default.nix @@ -6,29 +6,29 @@ 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; }; }; - + config = { fonts.normal = lib.mkDefault "Fira Code Nerd Font"; - + home.packages = with pkgs; [ nerd-fonts.fira-code ]; |
