diff options
| author | nsfisis <nsfisis@gmail.com> | 2025-07-11 19:56:30 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2025-07-11 19:56:30 +0900 |
| commit | eca7838471aa4a2170fa3538ddca8b2111de8429 (patch) | |
| tree | 5507739bca0a7d5ba79640efec5aabae1527623f | |
| parent | b0e1c580ecb7c955f5076eb197a8fccbdbe65d1e (diff) | |
| download | dotfiles-eca7838471aa4a2170fa3538ddca8b2111de8429.tar.gz dotfiles-eca7838471aa4a2170fa3538ddca8b2111de8429.tar.zst dotfiles-eca7838471aa4a2170fa3538ddca8b2111de8429.zip | |
font: update font installation on macOS
| -rw-r--r-- | README | 2 | ||||
| -rw-r--r-- | home-manager/modules/common.nix | 5 |
2 files changed, 2 insertions, 5 deletions
@@ -43,7 +43,7 @@ $ brew install libiconv $ ./bootstrap pc168 -$ sudo atsutil databases -remove +$ fc-cache -fv $ brew install --cask alacritty diff --git a/home-manager/modules/common.nix b/home-manager/modules/common.nix index a2902d9..731db70 100644 --- a/home-manager/modules/common.nix +++ b/home-manager/modules/common.nix @@ -99,6 +99,7 @@ in ".config/sh/claude-code.sh".source = ../config/sh/claude-code.sh; ".config/skk/jisyo.L".source = "${pkgs.skkDictionaries.l}/share/skk/SKK-JISYO.L"; ".config/vim/vimrc".source = ../../.config/vim/vimrc; + ".local/share/fonts/SourceHanCodeJP.ttc".source = "${nurpkgs.source-han-code-jp}/share/fonts/SourceHanCodeJP.ttc"; ".zshrc".source = ../config/zsh/.zshrc; "bin/__claude-code-notify".source = ../../bin/__claude-code-notify; "bin/tmux-pane-idx".source = ../../bin/tmux-pane-idx; @@ -111,10 +112,6 @@ in else "" ); - - "${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 { |
