From 170461002890d55718618bec64feaa8856c3a6d4 Mon Sep 17 00:00:00 2001 From: Arpit Chakladar <54011232+arpitchakladar@users.noreply.github.com> Date: Fri, 28 Nov 2025 00:01:27 +0530 Subject: Organised the configuration to allow for different options for different users. --- modules/fonts/default.nix | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'modules/fonts/default.nix') 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 + ]; + }; } -- cgit v1.2.3