diff options
| author | Arpit Chakladar <54011232+arpitchakladar@users.noreply.github.com> | 2024-09-28 00:04:49 +0530 |
|---|---|---|
| committer | Arpit Chakladar <54011232+arpitchakladar@users.noreply.github.com> | 2024-09-28 00:04:49 +0530 |
| commit | 4d315448c08f98140229f006898dc408fcb6953e (patch) | |
| tree | 3332f70f724eeae34cf17be5020fe1b4953ba374 /modules/fonts/nerdfont/fira-code/default.nix | |
| parent | b20945970ba46999c8c4f234ea0456ca368e179a (diff) | |
| download | home-manager-config-4d315448c08f98140229f006898dc408fcb6953e.tar.gz home-manager-config-4d315448c08f98140229f006898dc408fcb6953e.zip | |
Few minor tweaks to polybar.
Diffstat (limited to 'modules/fonts/nerdfont/fira-code/default.nix')
| -rw-r--r-- | modules/fonts/nerdfont/fira-code/default.nix | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/modules/fonts/nerdfont/fira-code/default.nix b/modules/fonts/nerdfont/fira-code/default.nix new file mode 100644 index 0000000..94381b4 --- /dev/null +++ b/modules/fonts/nerdfont/fira-code/default.nix @@ -0,0 +1,18 @@ +{ lib, config, pkgs, ... }: + +{ + options.fonts.nerdfont.fira-code = { + enable = lib.mkEnableOption "Enables fira code nerd font."; + }; + + config = lib.mkIf config.fonts.nerdfont.fira-code.enable { + fonts.normal = lib.mkDefault "Fira Code Nerd Font"; + home.packages = with pkgs; [ + (nerdfonts.override { + fonts = [ + "FiraCode" + ]; + }) + ]; + }; +} |
