From 075a10c193bb8a7aad4c0480d89163e80fca6a3a Mon Sep 17 00:00:00 2001 From: Peritia Date: Mon, 2 Mar 2026 15:49:41 +0100 Subject: [PATCH] fix: fonts --- nixosVista/systemWide/font.nix | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) 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 + ]; + }; }