remove bitwarden dependency

main
Andrew Coleman 2022-08-25 13:06:06 -04:00
parent db7e54eceb
commit 3c4750b438
10 changed files with 2 additions and 57 deletions

View File

@ -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"
```

View File

@ -1,2 +0,0 @@
export GITEA_ACCESS_TOKEN={{- (bitwardenFields "item" "Gitea").token.value }}
export GITEA_HOST=https://git.penguincoder.org

View File

@ -1,3 +0,0 @@
{{- if ne .include_ssh_keys "true" }}
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAID3M8FYKBjXXUQpk5+bQXe1zwkONtfbifRnTr+dkNwHt selfhosted@penguincoder.org
{{- end }}

View File

@ -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

View File

@ -1 +0,0 @@
{{- (bitwardenAttachment "gitea.pub" "selfhosted-ssh-keys") -}}

View File

@ -1 +0,0 @@
{{- (bitwardenAttachment "gitea" "selfhosted-ssh-keys") -}}

View File

@ -1 +0,0 @@
{{- (bitwardenAttachment "github.pub" "selfhosted-ssh-keys") -}}

View File

@ -1 +0,0 @@
{{- (bitwardenAttachment "github" "selfhosted-ssh-keys") -}}

View File

@ -1 +0,0 @@
{{- (bitwardenAttachment "selfhosted.pub" "selfhosted-ssh-keys") -}}

View File

@ -1 +0,0 @@
{{- (bitwardenAttachment "selfhosted" "selfhosted-ssh-keys") -}}