diff options
Diffstat (limited to 'home-manager/modules/common.nix')
| -rw-r--r-- | home-manager/modules/common.nix | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/home-manager/modules/common.nix b/home-manager/modules/common.nix index 231555e..2f75ba9 100644 --- a/home-manager/modules/common.nix +++ b/home-manager/modules/common.nix @@ -1,6 +1,7 @@ { pkgs, nurpkgs, + nodeName, env, ... }: @@ -93,7 +94,6 @@ in ".config/alacritty/alacritty.local.toml".source = ../../.config/alacritty/alacritty.${env.os}.toml; ".config/alacritty/alacritty.toml".source = ../../.config/alacritty/alacritty.toml; ".config/fish/completions/git-sw.fish".source = ../../.config/fish/completions/git-sw.fish; - ".config/git/config".source = ../../.config/git/config; ".config/git/ignore".source = ../../.config/git/ignore; ".config/nvim".source = ../../.config/nvim; ".config/sh/claude-code.sh".source = ../config/sh/claude-code.sh; @@ -103,6 +103,15 @@ in "bin/__claude-code-notify".source = ../../bin/__claude-code-notify; "bin/tmux-pane-idx".source = ../../bin/tmux-pane-idx; + ".config/git/config".text = + builtins.readFile ../../.config/git/config + + ( + if builtins.pathExists ../../.config/git/local.${nodeName}.config then + builtins.readFile ../../.config/git/local.${nodeName}.config + else + "" + ); + "${if env.os == "macos" then "Library/Fonts/" else ".local/share/fonts/"}/SourceHanCodeJP.ttc" = { source = "${nurpkgs.source-han-code-jp}/share/fonts/SourceHanCodeJP.ttc"; }; |
