diff --git a/nixosVista/systemWide/font.nix b/nixosVista/systemWide/font.nix index d7b7f39..cf2d89c 100644 --- a/nixosVista/systemWide/font.nix +++ b/nixosVista/systemWide/font.nix @@ -2,10 +2,15 @@ config, lib, pkgs, + nixosVista, ... -}: { - fonts.packages = with pkgs; [ - nerd-fonts.jetbrains-mono - noto-fonts - ]; +}: let + root = nixosVista; +in { + config = lib.mkIf root.enable { + fonts.packages = with pkgs; [ + nerd-fonts.jetbrains-mono + noto-fonts + ]; + }; }