diff --git a/.chezmoi.toml.tmpl b/.chezmoi.toml.tmpl index e0baeac..1c4a4b1 100644 --- a/.chezmoi.toml.tmpl +++ b/.chezmoi.toml.tmpl @@ -1,4 +1,4 @@ -{{ $installSystemRustup := promptBool "Install rustup from system or asdf ?" true -}} +{{ $installSystemRustup := promptBoolOnce "Install rustup from system or asdf ?" true -}} [data] installSystemRustup = {{ $installSystemRustup }} diff --git a/home/.chezmoiscripts/run_onchange_after_10-install-packages.sh.tmpl b/home/.chezmoiscripts/run_onchange_after_10-install-packages.sh.tmpl index 6769600..2399c68 100644 --- a/home/.chezmoiscripts/run_onchange_after_10-install-packages.sh.tmpl +++ b/home/.chezmoiscripts/run_onchange_after_10-install-packages.sh.tmpl @@ -26,6 +26,8 @@ packages=( zoxide ) +{{- writeToStdout $installSystemRustup -}} + {{ if (eq .chezmoi.osRelease.id "manjaro" "arch") -}} log "Begin Arch/Manjaro Linux packages installation"