remove bitwarden dependency
parent
db7e54eceb
commit
3c4750b438
|
@ -32,12 +32,8 @@ mv ./bin/chezmoi "$HOME/.local/bin/"
|
|||
chezmoi init --apply ssh://git@git.penguincoder.org:2222/penguincoder/dotfiles.git
|
||||
```
|
||||
|
||||
# Chezmoi without bitwarden
|
||||
# Gitea token
|
||||
|
||||
```bash
|
||||
sh -c "$(curl -fsLS chezmoi.io/get)"
|
||||
mv ./bin/chezmoi "$HOME/.local/bin/"
|
||||
mkdir -p ~/.config/chezmoi
|
||||
echo -e "[data]\ninclude_ssh_keys=\"false\"" | tee ~/.config/chezmoi/chezmoi.toml
|
||||
chezmoi init --apply ssh://git@git.penguincoder.org:2222/penguincoder/dotfiles.git
|
||||
echo -e "export GITEA_TOKEN=$(bw get item gitea | jq -r '.fields[] | select(.name == "token").value')\nexport GITEA_HOST=https://git.penguincoder.org" | tee "$HOME/.config/bash/gitea.sh"
|
||||
```
|
||||
|
|
|
@ -1,2 +0,0 @@
|
|||
export GITEA_ACCESS_TOKEN={{- (bitwardenFields "item" "Gitea").token.value }}
|
||||
export GITEA_HOST=https://git.penguincoder.org
|
|
@ -1,3 +0,0 @@
|
|||
{{- if ne .include_ssh_keys "true" }}
|
||||
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAID3M8FYKBjXXUQpk5+bQXe1zwkONtfbifRnTr+dkNwHt selfhosted@penguincoder.org
|
||||
{{- end }}
|
|
@ -1,40 +0,0 @@
|
|||
Host *
|
||||
ForwardAgent yes
|
||||
AddKeysToAgent yes
|
||||
|
||||
Host penguincoder.org
|
||||
Port 2223
|
||||
IdentityFile ~/.ssh/selfhosted
|
||||
|
||||
Host git.penguincoder.org
|
||||
Port 2222
|
||||
User git
|
||||
IdentityFile ~/.ssh/gitea
|
||||
ProxyCommand none
|
||||
|
||||
Host helium helium.penguincoder.org
|
||||
HostName 192.168.1.50
|
||||
|
||||
Host potassium potassium.penguincoder.org
|
||||
HostName 192.168.1.60
|
||||
ProxyCommand none
|
||||
|
||||
Host mailhog mailhog.penguincoder.org
|
||||
HostName 192.168.1.59
|
||||
|
||||
Host gitea gitea.penguincoder.org
|
||||
HostName 192.168.1.61
|
||||
|
||||
Host nextcloud nextcloud.penguincoder.org
|
||||
HostName 192.168.1.62
|
||||
|
||||
Host bitwarden bitwarden.penguincoder.org
|
||||
HostName 192.168.1.63
|
||||
|
||||
Host *.penguincoder.org !git.penguincoder.org
|
||||
IdentityFile ~/.ssh/selfhosted
|
||||
ProxyCommand ssh -W %h:%p penguincoder.org -p 2223
|
||||
|
||||
Host github.com
|
||||
User git
|
||||
IdentityFile ~/.ssh/github
|
|
@ -1 +0,0 @@
|
|||
{{- (bitwardenAttachment "gitea.pub" "selfhosted-ssh-keys") -}}
|
|
@ -1 +0,0 @@
|
|||
{{- (bitwardenAttachment "gitea" "selfhosted-ssh-keys") -}}
|
|
@ -1 +0,0 @@
|
|||
{{- (bitwardenAttachment "github.pub" "selfhosted-ssh-keys") -}}
|
|
@ -1 +0,0 @@
|
|||
{{- (bitwardenAttachment "github" "selfhosted-ssh-keys") -}}
|
|
@ -1 +0,0 @@
|
|||
{{- (bitwardenAttachment "selfhosted.pub" "selfhosted-ssh-keys") -}}
|
|
@ -1 +0,0 @@
|
|||
{{- (bitwardenAttachment "selfhosted" "selfhosted-ssh-keys") -}}
|
Loading…
Reference in New Issue