From 7aecc20c63f320b44566ef713d7c9f6779ac972c Mon Sep 17 00:00:00 2001 From: ulic-youthlic Date: Tue, 10 Feb 2026 17:14:13 +0800 Subject: [PATCH] chore: Use pkgs's noto static font instead of myself --- nvfetcher.toml | 10 ---------- pkgs/fonts/noto-sans-cjk.nix | 19 ------------------- pkgs/fonts/noto-serif-cjk.nix | 19 ------------------- 3 files changed, 48 deletions(-) delete mode 100644 pkgs/fonts/noto-sans-cjk.nix delete mode 100644 pkgs/fonts/noto-serif-cjk.nix diff --git a/nvfetcher.toml b/nvfetcher.toml index 24edda9..5ca5c3a 100644 --- a/nvfetcher.toml +++ b/nvfetcher.toml @@ -1,13 +1,3 @@ -[noto-serif-cjk] -fetch.github = "notofonts/noto-cjk" -git.sparseCheckout = ["Serif/OTC"] -src.github = "notofonts/noto-cjk" - -[noto-sans-cjk] -fetch.github = "notofonts/noto-cjk" -git.sparseCheckout = ["Sans/OTC"] -src.github = "notofonts/noto-cjk" - [spotx] fetch.github = "SpotX-Official/SpotX-Bash" src.git = "https://github.com/SpotX-Official/SpotX-Bash.git" diff --git a/pkgs/fonts/noto-sans-cjk.nix b/pkgs/fonts/noto-sans-cjk.nix deleted file mode 100644 index 50d3d42..0000000 --- a/pkgs/fonts/noto-sans-cjk.nix +++ /dev/null @@ -1,19 +0,0 @@ -{ - nixosTests, - srcs, - stdenvNoCC, -}: let - source = srcs.noto-sans-cjk; -in - stdenvNoCC.mkDerivation (_finalAttrs: { - pname = "noto-sans-cjk"; - version = source.version; - - src = source.src; - - installPhase = '' - install -m444 -Dt $out/share/fonts/opentype/noto-sans-cjk Sans/OTC/*.ttc - ''; - - passthru.tests.noto-fonts = nixosTests.noto-fonts; - }) diff --git a/pkgs/fonts/noto-serif-cjk.nix b/pkgs/fonts/noto-serif-cjk.nix deleted file mode 100644 index 80b8f74..0000000 --- a/pkgs/fonts/noto-serif-cjk.nix +++ /dev/null @@ -1,19 +0,0 @@ -{ - nixosTests, - srcs, - stdenvNoCC, -}: let - source = srcs.noto-serif-cjk; -in - stdenvNoCC.mkDerivation (_finalAttrs: { - pname = "noto-serif-cjk"; - version = source.version; - - src = source.src; - - installPhase = '' - install -m444 -Dt $out/share/fonts/opentype/noto-serif-cjk Serif/OTC/*.ttc - ''; - - passthru.tests.noto-fonts = nixosTests.noto-fonts; - })