diff options
| author | nsfisis <nsfisis@gmail.com> | 2025-07-08 22:21:38 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2025-07-08 22:21:38 +0900 |
| commit | 551122e5da0f8ca51ffc7da0cb063c627f34ebf7 (patch) | |
| tree | 518ae49863b7e5650752527d2f5a2c8b378b2121 /home-manager/modules/common.nix | |
| parent | 0d3da1f6237c6ab314569d50b7797ad3c68d11bc (diff) | |
| download | dotfiles-551122e5da0f8ca51ffc7da0cb063c627f34ebf7.tar.gz dotfiles-551122e5da0f8ca51ffc7da0cb063c627f34ebf7.tar.zst dotfiles-551122e5da0f8ca51ffc7da0cb063c627f34ebf7.zip | |
home-manager: manage font files by Nix
Diffstat (limited to 'home-manager/modules/common.nix')
| -rw-r--r-- | home-manager/modules/common.nix | 4 |
1 files changed, 4 insertions, 0 deletions
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 { |
