Update dotfiles/.local/share/chezmoi/home/dot_ssh/create_private_readonly_private_id_rsa.tmpl, dotfiles/.local/share/chezmoi/home/dot_tool_versions.tmpl
This commit is contained in:
parent
f036f0fa08
commit
9b409f1f5f
2 changed files with 3 additions and 17 deletions
|
@ -1,10 +1,10 @@
|
||||||
{{- $bwAuthenticated = eq (fromJson (output "bw" "status")).status "authenticated" }}
|
{{- $bwAuthenticated := eq (fromJson (output "bw" "status")).status "authenticated" }}
|
||||||
{{- if $bwAuthenticated -}}
|
{{- if $bwAuthenticated -}}
|
||||||
{{- (bitwarden "item" "dev.betelgeuse.ssh.personal.id_rsa.private").notes -}}
|
{{- (bitwarden "item" "dev.betelgeuse.ssh.personal.id_rsa.private").notes -}}
|
||||||
{{- else -}}
|
{{- else -}}
|
||||||
{{- $sshLocation = (joinPath .chezmoi.homeDir ".ssh" "id_rsa") -}}
|
{{- $sshLocation := (joinPath .chezmoi.homeDir ".ssh" "id_rsa") -}}
|
||||||
{{- if not (stat $sshLocation) -}}
|
{{- if not (stat $sshLocation) -}}
|
||||||
{{- $sshKeygen = (output "ssh-keygen" "-b" "4096" "-t" "rsa" "-f" $sshLocation "-q" "-N" }}
|
{{- $sshKeygen := (output "ssh-keygen" "-b" "4096" "-t" "rsa" "-f" $sshLocation "-q" "-N") }}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- include $sshLocation }}
|
{{- include $sshLocation }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
|
@ -1,23 +1,9 @@
|
||||||
{{- if .toolchains.go }}
|
|
||||||
golang system
|
golang system
|
||||||
{{- end -}}
|
|
||||||
{{- if .toolchains.java }}
|
|
||||||
java openjdk-17
|
java openjdk-17
|
||||||
{{- end -}}
|
|
||||||
{{- if .toolchains.node }}
|
|
||||||
deno system
|
deno system
|
||||||
nodejs system
|
nodejs system
|
||||||
{{- end -}}
|
|
||||||
{{- if .toolchains.php }}
|
|
||||||
php 8.1.12
|
php 8.1.12
|
||||||
{{- end -}}
|
|
||||||
{{- if .toolchains.python }}
|
|
||||||
poetry system
|
poetry system
|
||||||
python system
|
python system
|
||||||
{{- end -}}
|
|
||||||
{{- if .toolchains.ruby }}
|
|
||||||
ruby 3.1.1
|
ruby 3.1.1
|
||||||
{{- end -}}
|
|
||||||
{{- if .toolchains.rust }}
|
|
||||||
rust system
|
rust system
|
||||||
{{- end -}}
|
|
||||||
|
|
Loading…
Reference in a new issue