From 551122e5da0f8ca51ffc7da0cb063c627f34ebf7 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Tue, 8 Jul 2025 22:21:38 +0900 Subject: home-manager: manage font files by Nix --- home-manager/modules/common.nix | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'home-manager/modules/common.nix') diff --git a/home-manager/modules/common.nix b/home-manager/modules/common.nix index 140550b..231555e 100644 --- a/home-manager/modules/common.nix +++ b/home-manager/modules/common.nix @@ -102,6 +102,10 @@ in ".zshrc".source = ../config/zsh/.zshrc; "bin/__claude-code-notify".source = ../../bin/__claude-code-notify; "bin/tmux-pane-idx".source = ../../bin/tmux-pane-idx; + + "${if env.os == "macos" then "Library/Fonts/" else ".local/share/fonts/"}/SourceHanCodeJP.ttc" = { + source = "${nurpkgs.source-han-code-jp}/share/fonts/SourceHanCodeJP.ttc"; + }; }; home.sessionVariables = rec { -- cgit v1.2.3-70-g09d2