diff options
| -rw-r--r-- | home-manager/modules/common.nix | 1 | ||||
| -rw-r--r-- | mitamae/default.rb | 12 |
2 files changed, 3 insertions, 10 deletions
diff --git a/home-manager/modules/common.nix b/home-manager/modules/common.nix index 39e2492..140550b 100644 --- a/home-manager/modules/common.nix +++ b/home-manager/modules/common.nix @@ -95,6 +95,7 @@ in ".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; ".config/skk/jisyo.L".source = "${pkgs.skkDictionaries.l}/share/skk/SKK-JISYO.L"; ".config/vim/vimrc".source = ../../.config/vim/vimrc; diff --git a/mitamae/default.rb b/mitamae/default.rb index f561799..c5bb083 100644 --- a/mitamae/default.rb +++ b/mitamae/default.rb @@ -25,23 +25,15 @@ directory "#{home}/.cache" directory "#{home}/.local/share" directory "#{home}/.local/state" +directory "#{home}/.config/skk" + execute "home-manager switch" do command "nix run 'nixpkgs#home-manager' -- switch --flake '.##{node[:name]}'" - not_if "type home-manager" end -link "#{home}/.config/nvim" do - to "#{home}/dotfiles/.config/nvim" -end -directory "#{home}/.config/skk" - if node[:profile] == "private" execute "rustup: install nightly toolchain" do command "rustup toolchain install nightly" not_if "rustup toolchain list | grep nightly" end end - -execute "home-manager switch" do - command "nix run 'nixpkgs#home-manager' -- switch --flake '.##{node[:name]}'" -end |
