aboutsummaryrefslogtreecommitdiffhomepage
path: root/mitamae
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2025-07-08 18:37:49 +0900
committernsfisis <nsfisis@gmail.com>2025-07-08 18:37:49 +0900
commit236d9ccd7d1193b5a9aa8f033cede6c0ba831d1c (patch)
treefe5eb6c9de65da757f9308f49f01d3c8f3b577e3 /mitamae
parent35f43df337267e31837d656f23a69575d54baef6 (diff)
downloaddotfiles-236d9ccd7d1193b5a9aa8f033cede6c0ba831d1c.tar.gz
dotfiles-236d9ccd7d1193b5a9aa8f033cede6c0ba831d1c.tar.zst
dotfiles-236d9ccd7d1193b5a9aa8f033cede6c0ba831d1c.zip
home-manager: use home.file to link ~/.config/nvim
Diffstat (limited to 'mitamae')
-rw-r--r--mitamae/default.rb12
1 files changed, 2 insertions, 10 deletions
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