diff options
| author | Arpit Chakladar <54011232+arpitchakladar@users.noreply.github.com> | 2025-11-28 00:01:27 +0530 |
|---|---|---|
| committer | Arpit Chakladar <54011232+arpitchakladar@users.noreply.github.com> | 2025-11-28 00:01:27 +0530 |
| commit | 170461002890d55718618bec64feaa8856c3a6d4 (patch) | |
| tree | 39828106660958fc9de2c8c8d1fc972c8e2320cb /modules/fonts/default.nix | |
| parent | 547bf872cbf85f4718576e1ac3a0eab094ccd26a (diff) | |
| download | home-manager-config-170461002890d55718618bec64feaa8856c3a6d4.tar.gz home-manager-config-170461002890d55718618bec64feaa8856c3a6d4.zip | |
Organised the configuration to allow for different options for different users.
Diffstat (limited to 'modules/fonts/default.nix')
| -rw-r--r-- | modules/fonts/default.nix | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/modules/fonts/default.nix b/modules/fonts/default.nix index c5d552c..eee825d 100644 --- a/modules/fonts/default.nix +++ b/modules/fonts/default.nix @@ -1,10 +1,6 @@ -{ lib, config, ... }: +{ lib, config, pkgs, ... }: { - imports = [ - ./nerdfont - ]; - options.fonts = { normal = lib.mkOption { type = lib.types.str; @@ -29,4 +25,12 @@ default = 16; }; }; + + config = { + fonts.normal = lib.mkDefault "Fira Code Nerd Font"; + + home.packages = with pkgs; [ + nerd-fonts.fira-code + ]; + }; } |
