Skip to content

Commit dd5a203

Browse files
committed
Merge MR 'fix: cleanup after leaving Kabisa' into 'main'
See merge request el-capitano/dotfiles!331
2 parents c42f529 + 8104ea2 commit dd5a203

File tree

10 files changed

+48
-297
lines changed

10 files changed

+48
-297
lines changed

README.md

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,13 @@ sh -c "$(wget -qO- get.chezmoi.io) -- init --apply --verbose tmeijn"
4545
```
4646

4747
1. Navigate to the chezmoi dir by executing `chezmoi cd`
48-
1. Update the remote url with `git remote set-url origin [email protected]:tmeijn/dotfiles.git`
49-
1. Run the script that will generate SSH key and upload both to gitlab.com and github.com:
48+
1. Update the git remote url:
49+
50+
```bash
51+
git remote set-url origin [email protected]:el-capitano/dotfiles.git
52+
```
53+
54+
1. Run the script that will generate an SSH key and uploads the public key both to gitlab.com and github.com:
5055

5156
```bash
5257
bash gen_ssh_key_and_add_to_scms.sh
@@ -85,7 +90,7 @@ Login to following sites:
8590

8691
### Configure VS Code 🎹
8792

88-
down-right, login using your GitHub account. Everything should be synced afterwards.
93+
In the left sidebar, down left, login using your GitHub account. Everything should be synced afterwards.
8994

9095
### Configure Microsoft Account
9196

@@ -119,7 +124,7 @@ Feel free to explore and modify these dotfiles according to your preferences. Ha
119124

120125
- https://github.com/halostatue/dotfiles
121126

122-
## (Legacy) -- References accumulated when trying out Nix
127+
## (Legacy) - References accumulated when trying out Nix
123128

124129
- [paholg/dotfiles: Some of my config files and scripts I find useful.](https://github.com/paholg/dotfiles)
125130
- [GitHub - gvolpe/nix-config: NixOS configuration](https://github.com/gvolpe/nix-config)

chezmoi/.chezmoiscripts/run_onchange_30_install_extensions_list.sh.tmpl

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,8 @@ echo "==============================================================="
99
echo ""
1010

1111
# dconf.ini hash: {{ include "installed-extensions.txt" | sha256sum }}
12-
cat {{ joinPath .chezmoi.sourceDir "installed-extensions.txt" | quote }} | xargs -I {} gext install {}
12+
13+
if command -v gext &> /dev/null; then
14+
cat {{ joinPath .chezmoi.sourceDir "installed-extensions.txt" | quote }} | xargs -I {} gext install {}
15+
fi
16+

chezmoi/dot_aws/config

Lines changed: 0 additions & 273 deletions
Original file line numberDiff line numberDiff line change
@@ -29,276 +29,3 @@ granted_sso_start_url = https://capitano.awsapps.com/start
2929
granted_sso_account_id = 963859772442
3030
granted_sso_role_name = AdministratorAccess
3131
credential_process = granted credential-process --profile capitano_prod
32-
33-
# ██╗ ██╗ █████╗ ██████╗ ██╗███████╗ █████╗
34-
# ██║ ██╔╝██╔══██╗██╔══██╗██║██╔════╝██╔══██╗
35-
# █████╔╝ ███████║██████╔╝██║███████╗███████║
36-
# ██╔═██╗ ██╔══██║██╔══██╗██║╚════██║██╔══██║
37-
# ██║ ██╗██║ ██║██████╔╝██║███████║██║ ██║
38-
# ╚═╝ ╚═╝╚═╝ ╚═╝╚═════╝ ╚═╝╚══════╝╚═╝ ╚═╝
39-
[profile kabisa-iam]
40-
mfa_serial = arn:aws:iam::977189580908:mfa/tyrone.meijn
41-
duration_seconds = 14400
42-
region = eu-west-1
43-
credential_process = granted credential-process --profile kabisa-iam
44-
45-
[profile kabisa-playground]
46-
source_profile = kabisa-iam
47-
role_arn = arn:aws:iam::820116308106:role/admin
48-
49-
[profile kabisa-ops]
50-
source_profile = kabisa-iam
51-
role_arn = arn:aws:iam::003476575487:role/admin
52-
53-
# ███████╗██╗ ██████╗ ███╗ ██╗██╗███████╗██╗ ██╗ ██████╗ ██████╗ ███╗ ██╗███████╗████████╗███████╗██╗ ██╗ █████╗ ████████╗██╗ ██████╗ ███╗ ██╗
54-
# ██╔════╝██║██╔════╝ ████╗ ██║██║██╔════╝╚██╗ ██╔╝ ██╔════╝██╔═══██╗████╗ ██║██╔════╝╚══██╔══╝██╔════╝██║ ██║ ██╔══██╗╚══██╔══╝██║██╔═══██╗████╗ ██║
55-
# ███████╗██║██║ ███╗██╔██╗ ██║██║█████╗ ╚████╔╝ █████╗ ██║ ██║ ██║██╔██╗ ██║███████╗ ██║ █████╗ ██║ ██║ ███████║ ██║ ██║██║ ██║██╔██╗ ██║
56-
# ╚════██║██║██║ ██║██║╚██╗██║██║██╔══╝ ╚██╔╝ ╚════╝ ██║ ██║ ██║██║╚██╗██║╚════██║ ██║ ██╔══╝ ██║ ██║ ██╔══██║ ██║ ██║██║ ██║██║╚██╗██║
57-
# ███████║██║╚██████╔╝██║ ╚████║██║██║ ██║ ╚██████╗╚██████╔╝██║ ╚████║███████║ ██║ ███████╗███████╗███████╗██║ ██║ ██║ ██║╚██████╔╝██║ ╚████║
58-
# ╚══════╝╚═╝ ╚═════╝ ╚═╝ ╚═══╝╚═╝╚═╝ ╚═╝ ╚═════╝ ╚═════╝ ╚═╝ ╚═══╝╚══════╝ ╚═╝ ╚══════╝╚══════╝╚══════╝╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═══╝
59-
[sso-session signify]
60-
sso_region = eu-west-1
61-
sso_start_url = https://d-936704647b.awsapps.com/start
62-
63-
[profile constellation-ops]
64-
granted_sso_region = eu-west-1
65-
granted_sso_start_url = https://d-936704647b.awsapps.com/start
66-
granted_sso_account_id = 639160412879
67-
granted_sso_role_name = AdministratorAccess
68-
region = eu-central-1
69-
credential_process = granted credential-process --profile constellation-ops
70-
71-
[profile constellation-dev]
72-
granted_sso_region = eu-west-1
73-
granted_sso_start_url = https://d-936704647b.awsapps.com/start
74-
granted_sso_account_id = 461594237321
75-
granted_sso_role_name = AdministratorAccess
76-
region = eu-central-1
77-
credential_process = granted credential-process --profile constellation-dev
78-
79-
[profile constellation-qa]
80-
granted_sso_region = eu-west-1
81-
granted_sso_start_url = https://d-936704647b.awsapps.com/start
82-
granted_sso_account_id = 779611895282
83-
granted_sso_role_name = AdministratorAccess
84-
region = eu-central-1
85-
credential_process = granted credential-process --profile constellation-qa
86-
87-
[profile constellation-acc]
88-
granted_sso_region = eu-west-1
89-
granted_sso_start_url = https://d-936704647b.awsapps.com/start
90-
granted_sso_account_id = 942181379715
91-
granted_sso_role_name = AdministratorAccess
92-
region = eu-central-1
93-
credential_process = granted credential-process --profile constellation-acc
94-
95-
[profile constellation-prod]
96-
granted_sso_region = eu-west-1
97-
granted_sso_start_url = https://d-936704647b.awsapps.com/start
98-
granted_sso_account_id = 876065752144
99-
granted_sso_role_name = AdministratorAccess
100-
region = eu-central-1
101-
credential_process = granted credential-process --profile constellation-prod
102-
103-
[profile smart-agreements]
104-
credential_process = granted credential-process --profile=smart-agreements
105-
106-
[profile kabisa-dovetail-reseller/AdministratorAccess]
107-
granted_sso_start_url = https://kabisa.awsapps.com/start
108-
granted_sso_region = eu-west-1
109-
granted_sso_account_id = 741917399688
110-
granted_sso_role_name = AdministratorAccess
111-
common_fate_generated_from = aws-sso
112-
credential_process = granted credential-process --profile kabisa-dovetail-reseller/AdministratorAccess
113-
114-
[profile buurkracht-app/AdministratorAccess]
115-
granted_sso_start_url = https://kabisa.awsapps.com/start
116-
granted_sso_region = eu-west-1
117-
granted_sso_account_id = 204197918388
118-
granted_sso_role_name = AdministratorAccess
119-
common_fate_generated_from = aws-sso
120-
credential_process = granted credential-process --profile buurkracht-app/AdministratorAccess
121-
122-
[profile viaviela-production/AdministratorAccess]
123-
granted_sso_start_url = https://kabisa.awsapps.com/start
124-
granted_sso_region = eu-west-1
125-
granted_sso_account_id = 926227716945
126-
granted_sso_role_name = AdministratorAccess
127-
common_fate_generated_from = aws-sso
128-
credential_process = granted credential-process --profile viaviela-production/AdministratorAccess
129-
130-
[profile kabisa-security/AdministratorAccess]
131-
granted_sso_start_url = https://kabisa.awsapps.com/start
132-
granted_sso_region = eu-west-1
133-
granted_sso_account_id = 472643443173
134-
granted_sso_role_name = AdministratorAccess
135-
common_fate_generated_from = aws-sso
136-
credential_process = granted credential-process --profile kabisa-security/AdministratorAccess
137-
138-
[profile mijnacmo-acceptance/AdministratorAccess]
139-
granted_sso_start_url = https://kabisa.awsapps.com/start
140-
granted_sso_region = eu-west-1
141-
granted_sso_account_id = 745032881143
142-
granted_sso_role_name = AdministratorAccess
143-
common_fate_generated_from = aws-sso
144-
credential_process = granted credential-process --profile mijnacmo-acceptance/AdministratorAccess
145-
146-
[profile kivi-production/AdministratorAccess]
147-
granted_sso_start_url = https://kabisa.awsapps.com/start
148-
granted_sso_region = eu-west-1
149-
granted_sso_account_id = 375479831194
150-
granted_sso_role_name = AdministratorAccess
151-
common_fate_generated_from = aws-sso
152-
credential_process = granted credential-process --profile kivi-production/AdministratorAccess
153-
154-
[profile kabisa-backups/AdministratorAccess]
155-
granted_sso_start_url = https://kabisa.awsapps.com/start
156-
granted_sso_region = eu-west-1
157-
granted_sso_account_id = 190384451510
158-
granted_sso_role_name = AdministratorAccess
159-
common_fate_generated_from = aws-sso
160-
credential_process = granted credential-process --profile kabisa-backups/AdministratorAccess
161-
162-
[profile kabisa-billing/AdministratorAccess]
163-
granted_sso_start_url = https://kabisa.awsapps.com/start
164-
granted_sso_region = eu-west-1
165-
granted_sso_account_id = 229276128807
166-
granted_sso_role_name = AdministratorAccess
167-
common_fate_generated_from = aws-sso
168-
credential_process = granted credential-process --profile kabisa-billing/AdministratorAccess
169-
170-
[profile Kabisa/AdministratorAccess]
171-
granted_sso_start_url = https://kabisa.awsapps.com/start
172-
granted_sso_region = eu-west-1
173-
granted_sso_account_id = 702056794978
174-
granted_sso_role_name = AdministratorAccess
175-
common_fate_generated_from = aws-sso
176-
credential_process = granted credential-process --profile Kabisa/AdministratorAccess
177-
178-
[profile belron-cms-production/AdministratorAccess]
179-
granted_sso_start_url = https://kabisa.awsapps.com/start
180-
granted_sso_region = eu-west-1
181-
granted_sso_account_id = 722754894782
182-
granted_sso_role_name = AdministratorAccess
183-
common_fate_generated_from = aws-sso
184-
credential_process = granted credential-process --profile belron-cms-production/AdministratorAccess
185-
186-
[profile kabisa-ops/AdministratorAccess]
187-
granted_sso_start_url = https://kabisa.awsapps.com/start
188-
granted_sso_region = eu-west-1
189-
granted_sso_account_id = 003476575487
190-
granted_sso_role_name = AdministratorAccess
191-
common_fate_generated_from = aws-sso
192-
credential_process = granted credential-process --profile kabisa-ops/AdministratorAccess
193-
194-
[profile kabisa-monitor/AdministratorAccess]
195-
granted_sso_start_url = https://kabisa.awsapps.com/start
196-
granted_sso_region = eu-west-1
197-
granted_sso_account_id = 070346990155
198-
granted_sso_role_name = AdministratorAccess
199-
common_fate_generated_from = aws-sso
200-
credential_process = granted credential-process --profile kabisa-monitor/AdministratorAccess
201-
202-
[profile viaviela-playground/AdministratorAccess]
203-
granted_sso_start_url = https://kabisa.awsapps.com/start
204-
granted_sso_region = eu-west-1
205-
granted_sso_account_id = 475608054092
206-
granted_sso_role_name = AdministratorAccess
207-
common_fate_generated_from = aws-sso
208-
credential_process = granted credential-process --profile viaviela-playground/AdministratorAccess
209-
210-
[profile viaviela-acceptance/AdministratorAccess]
211-
granted_sso_start_url = https://kabisa.awsapps.com/start
212-
granted_sso_region = eu-west-1
213-
granted_sso_account_id = 485050134664
214-
granted_sso_role_name = AdministratorAccess
215-
common_fate_generated_from = aws-sso
216-
credential_process = granted credential-process --profile viaviela-acceptance/AdministratorAccess
217-
218-
[profile kivi-staging/AdministratorAccess]
219-
granted_sso_start_url = https://kabisa.awsapps.com/start
220-
granted_sso_region = eu-west-1
221-
granted_sso_account_id = 626161977071
222-
granted_sso_role_name = AdministratorAccess
223-
common_fate_generated_from = aws-sso
224-
credential_process = granted credential-process --profile kivi-staging/AdministratorAccess
225-
226-
[profile kabisa-training/AdministratorAccess]
227-
granted_sso_start_url = https://kabisa.awsapps.com/start
228-
granted_sso_region = eu-west-1
229-
granted_sso_account_id = 050004364584
230-
granted_sso_role_name = AdministratorAccess
231-
common_fate_generated_from = aws-sso
232-
credential_process = granted credential-process --profile kabisa-training/AdministratorAccess
233-
234-
[profile viaviela-production-2024/AdministratorAccess]
235-
granted_sso_start_url = https://kabisa.awsapps.com/start
236-
granted_sso_region = eu-west-1
237-
granted_sso_account_id = 903891933481
238-
granted_sso_role_name = AdministratorAccess
239-
common_fate_generated_from = aws-sso
240-
credential_process = granted credential-process --profile viaviela-production-2024/AdministratorAccess
241-
242-
[profile belron-cms-staging/AdministratorAccess]
243-
granted_sso_start_url = https://kabisa.awsapps.com/start
244-
granted_sso_region = eu-west-1
245-
granted_sso_account_id = 349090710563
246-
granted_sso_role_name = AdministratorAccess
247-
common_fate_generated_from = aws-sso
248-
credential_process = granted credential-process --profile belron-cms-staging/AdministratorAccess
249-
250-
[profile viaviela-acceptance-2/AdministratorAccess]
251-
granted_sso_start_url = https://kabisa.awsapps.com/start
252-
granted_sso_region = eu-west-1
253-
granted_sso_account_id = 874694617209
254-
granted_sso_role_name = AdministratorAccess
255-
common_fate_generated_from = aws-sso
256-
credential_process = granted credential-process --profile viaviela-acceptance-2/AdministratorAccess
257-
258-
[profile kabisa-tools/AdministratorAccess]
259-
granted_sso_start_url = https://kabisa.awsapps.com/start
260-
granted_sso_region = eu-west-1
261-
granted_sso_account_id = 952084545409
262-
granted_sso_role_name = AdministratorAccess
263-
common_fate_generated_from = aws-sso
264-
credential_process = granted credential-process --profile kabisa-tools/AdministratorAccess
265-
266-
[profile aws+kabisa-websites/AdministratorAccess]
267-
granted_sso_start_url = https://kabisa.awsapps.com/start
268-
granted_sso_region = eu-west-1
269-
granted_sso_account_id = 299159644482
270-
granted_sso_role_name = AdministratorAccess
271-
common_fate_generated_from = aws-sso
272-
credential_process = granted credential-process --profile aws+kabisa-websites/AdministratorAccess
273-
274-
[profile kabisa-iam/AdministratorAccess]
275-
granted_sso_start_url = https://kabisa.awsapps.com/start
276-
granted_sso_region = eu-west-1
277-
granted_sso_account_id = 977189580908
278-
granted_sso_role_name = AdministratorAccess
279-
common_fate_generated_from = aws-sso
280-
credential_process = granted credential-process --profile kabisa-iam/AdministratorAccess
281-
282-
[profile kabisa-playground/AdministratorAccess]
283-
granted_sso_start_url = https://kabisa.awsapps.com/start
284-
granted_sso_region = eu-west-1
285-
granted_sso_account_id = 820116308106
286-
granted_sso_role_name = AdministratorAccess
287-
common_fate_generated_from = aws-sso
288-
credential_process = granted credential-process --profile kabisa-playground/AdministratorAccess
289-
290-
[profile viaviela-staging/AdministratorAccess]
291-
granted_sso_start_url = https://kabisa.awsapps.com/start
292-
granted_sso_region = eu-west-1
293-
granted_sso_account_id = 854413872844
294-
granted_sso_role_name = AdministratorAccess
295-
common_fate_generated_from = aws-sso
296-
credential_process = granted credential-process --profile viaviela-staging/AdministratorAccess
297-
298-
[profile mijnamco-production/AdministratorAccess]
299-
granted_sso_start_url = https://kabisa.awsapps.com/start
300-
granted_sso_region = eu-west-1
301-
granted_sso_account_id = 295715172212
302-
granted_sso_role_name = AdministratorAccess
303-
common_fate_generated_from = aws-sso
304-
credential_process = granted credential-process --profile mijnamco-production/AdministratorAccess

chezmoi/dot_bash_aliases

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ fi
4545

4646
# Mise installed: no arm64 binary
4747
if command -v moar &> /dev/null; then
48-
export PAGER=moar
48+
export PAGER="moar -no-clear-on-exit"
4949
fi
5050

5151
# mise installed: Python package

chezmoi/dot_bashrc

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ export PATH="$HOME/bin:$PATH"
6262
# Activate Mise: https://github.com/jdx/mise.
6363
if command -v mise &> /dev/null; then
6464
eval "$(mise activate bash)"
65+
eval "$(mise env -s bash)"
6566
# Mise itself doesn't export this as a variable as Aqua does do, so we do it ourself
6667
MISE_GLOBAL_CONFIG="$(mise config ls --no-header | awk '{print $1}')"
6768
MISE_GLOBAL_CONFIG="${MISE_GLOBAL_CONFIG//\~/$HOME}"
@@ -123,6 +124,13 @@ fi
123124
if command -v terraform &> /dev/null; then complete -C "$(which terraform)" terraform; fi
124125
if command -v aws_completer &> /dev/null; then complete -C "$(which aws_completer)" aws; fi
125126

127+
# Can be used as fallback when rbw is broken.
128+
if [ -f ~/.env ]; then
129+
set -a
130+
source ~/.env
131+
set +a
132+
fi
133+
126134
##############################################
127135
# BITWARDEN: auto load tokens if DB unlocked #
128136
##############################################
@@ -155,7 +163,7 @@ function set_win_title() {
155163

156164
starship_precmd_user_func="set_win_title"
157165

158-
if command -v thefuck &> /dev/null; then eval "$(thefuck --alias fuck)"; fi
166+
# if command -v thefuck &> /dev/null; then eval "$(thefuck --alias fuck)"; fi # disabled until https://github.com/nvbn/thefuck/pull/1404 is fixed. Unlikely as the issue is over a month old.
159167
if command -v zoxide &> /dev/null; then eval "$(zoxide init --cmd cd bash)"; fi
160168
if command -v starship &> /dev/null; then eval "$(starship init bash --print-full-init)"; fi
161169
if command -v atuin &> /dev/null; then eval "$(atuin init bash)"; fi

chezmoi/dot_config/aquaproj-aqua/aqua.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -319,3 +319,9 @@ packages:
319319
- name: achristmascarl/[email protected]
320320
description: a database management tui for postgres
321321
link: https://github.com/achristmascarl/rainfrog
322+
- name: errata-ai/[email protected]
323+
description: A syntax-aware linter for prose built with speed and extensibility in mind
324+
link: https://github.com/errata-ai/vale
325+
- name: quantumsheep/[email protected]
326+
description: Terminal user interface for SSH
327+
link: https://github.com/quantumsheep/sshs

chezmoi/dot_config/ghorg/reclone.yaml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,3 @@
1010
el-capitano:
1111
cmd: "ghorg clone el-capitano"
1212
description: "Clones our personal group, El Capitano."
13-
14-
kabisa:
15-
cmd: "ghorg clone kabisa --scm=github"
16-
description: "Clones the full Kabisa B.V. organization."
17-
18-
constellation:
19-
cmd: "ghorg clone signify1/constellation"
20-
description: "Clones the full Constellation project."

0 commit comments

Comments
 (0)