From 0e00c74ba745efe55912b62164cf4d53344b2c3c Mon Sep 17 00:00:00 2001 From: clerie Date: Thu, 21 Nov 2024 13:45:26 +0100 Subject: [PATCH] configuration/desktop: Handle renamed font in future releases --- configuration/desktop/fonts.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/configuration/desktop/fonts.nix b/configuration/desktop/fonts.nix index 92a9a82..0003233 100644 --- a/configuration/desktop/fonts.nix +++ b/configuration/desktop/fonts.nix @@ -7,8 +7,7 @@ roboto roboto-mono noto-fonts - noto-fonts-cjk noto-fonts-emoji comfortaa - ]; + ] ++ (if pkgs ? "noto-fonts-cjk-sans" then [ pkgs.noto-fonts-cjk-sans ] else [ pkgs.noto-fonts-cjk ]); }