feat(work) misc env tweaks to support new work setup
This commit is contained in:
parent
cfd7c6c13e
commit
d29006be1c
9 changed files with 134 additions and 78 deletions
|
@ -5,3 +5,4 @@
|
|||
.ssh/id_rsa_personal
|
||||
.ssh/id_rsa_work.pub
|
||||
.ssh/id_rsa_personal.pub
|
||||
work_paths.txt
|
||||
|
|
|
@ -69,6 +69,11 @@ check_paths=(
|
|||
|
||||
# pixi
|
||||
$HOME/.pixi/bin
|
||||
|
||||
# homebrew
|
||||
/opt/homebrew/bin
|
||||
|
||||
{{ join .chezmoi.sourceDir "encrypted_work_paths.txt" | include | decrypt -}}
|
||||
)
|
||||
|
||||
for fp in $check_paths; do
|
|
@ -107,4 +107,7 @@ BASE16_SHELL="$HOME/.config/base16-shell/"
|
|||
|
||||
{{- end }}
|
||||
|
||||
{{ if eq .hosttype "work" -}}
|
||||
eval "$(/opt/homebrew/bin/brew shellenv)"
|
||||
{{ end }}
|
||||
eval "$(direnv hook zsh)"
|
||||
|
|
42
home/encrypted_dot_apprc.age
Normal file
42
home/encrypted_dot_apprc.age
Normal file
|
@ -0,0 +1,42 @@
|
|||
-----BEGIN AGE ENCRYPTED FILE-----
|
||||
YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSBubGN2Mk16cTEzdXNjbGhI
|
||||
SHFSUlVYRzdvbXB0VmNJVk5GNHZSZ280U0RJCnlvbXV6RGFvTlVZd0pEWTJjZkVq
|
||||
T05xM0g1dm5SekdPc0dNeklKeDRjUUUKLS0tIGJRakZORGlSUit0L3RNK1AyVVNJ
|
||||
ZzkraEtjRXcxcitvTXI5QUljUnRteFUKan2uiIbA+4a6dpWKWlgNVH/WhofEy1cy
|
||||
a/n2nExgFJvExjqnIry6P+kQOrb4uUsxE8vuPZzebtnrki/SWYnZezdtef6JAPyi
|
||||
73yg1WTKWGLj3V3xvjrXG6cn5uyr+Jhy0Bt3Y1YHwZnRUORixJ1KbxqyFojHaOBF
|
||||
sqe+lv+LC8bxoyaOFHkgxYl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/EZ
|
||||
GORztcUfrYH8Wd7i+XF83n76mhTR2HfcNqwvqmzzJRt26vtyoqUuJeHQ5jQscDa2
|
||||
hAp0MFUizV2uR6w6Qtw3hIa/tdD9t0EVy8jIEbMjmcA5uqTF+HzYhuiNVs0TNuit
|
||||
9+9fHLKqPZqg88pi5dYe3Ms2bQ==
|
||||
-----END AGE ENCRYPTED FILE-----
|
15
home/encrypted_dot_s2a_login.age
Normal file
15
home/encrypted_dot_s2a_login.age
Normal file
|
@ -0,0 +1,15 @@
|
|||
-----BEGIN AGE ENCRYPTED FILE-----
|
||||
YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSBGejQwajloVURtT2JleVpN
|
||||
TkJDK3AzSStkS00vSW5YZDFSUlFtWldMWnhzCmgvWUZXYlZDUU4raEtiK2VVbUhy
|
||||
bXBkYVlqRVE0UlJrSlJ5WkF3Y3RXMlUKLS0tIEp6L0tHU09EK21IeE9wcGoxK2do
|
||||
YXhHU1NWODV1dWgwWnlicjlQemc0U2cK9e6WKZdRfNVvPlQH38eruO1Svx7/xv7E
|
||||
Ydgisp4Y+moSDuX3cIeTXJj8JjRsyDB4dN0ABIVI1HWoLmlYlyzNBk8Nwm4AX5PG
|
||||
oMw4Lse/lWcAav7tDzXhUpieJrC7a+RiV170nXOs3r1sJ3SQviZyyNPEmynAtfE/
|
||||
0pgJnldoAJ/BtH5urxkelnYQ04H45BBoKIsMMFLiiHDqjVLFpwx4lMct1MU5Cnbu
|
||||
zUwZ5/kh4hELwaf+lUbuLRWOqXmUSBbJK6Uu9Jpk0uWW/15YIkpJKvT5mGT1Gw7D
|
||||
ZrIpxKB2lz2yJ9sZZjCvS/BsMIXn1IdbeGTFpep74zu3XF1h0dWGWM2w6NsdFLFt
|
||||
osk3BH8d+z8lOXO5BzqH8Km8tlt9QFZi9uIXWHkSfxsEMQkJW603B5FfivEbQL4V
|
||||
Q4ySX1Q0NeOog3cfQWeUKoGVCReSCnfDEvAynSII/xWb+uz6FnkzjWimlfY6VGVc
|
||||
dTIiF5ct4+ZgKYfplygNQz9U6ZQUzLX3UkupOlqm3n2XdfEYSYFF9hDjFouOALLn
|
||||
xHIKPFXrOO4/qbYt/w4=
|
||||
-----END AGE ENCRYPTED FILE-----
|
16
home/encrypted_dot_zshklaviyo.age
Normal file
16
home/encrypted_dot_zshklaviyo.age
Normal file
|
@ -0,0 +1,16 @@
|
|||
-----BEGIN AGE ENCRYPTED FILE-----
|
||||
YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSBzY1QwVXhoa1IvUGM4d2lr
|
||||
aFJXb29LSVBwTDM3d0xCeHdIa0RRZE5XY1RZCkI1ZFkrY2lCSHY0dG1kaThCTkZ3
|
||||
U0F4ZDhwWDZLNWdzY2l2Zk45dVZvVlEKLS0tIFJDUG1oWnA0WFQxZXFBUFhVbE9o
|
||||
dGFWN0VVL1I3Z3pHdWRjVE93M3BTNE0KjnuD9ElEH28PcosxYPPGR+bd31JwMXqk
|
||||
8lzpU7zKVlCZOCD57sn0rvvIRvoPaNC2sg9oqO4GleuqkYnfaZ8UMlBwCpOf0av9
|
||||
zMKZyefDvr9dkdMsge4ES+Ifmv2OdcKtAk3rSVi92Do2LBmWgaukO99gLpWnw+Qw
|
||||
T+FkrBIjP6noNLashxa1QWzkvZa9OE56kJ1O2hRKMm/dSVYYB+0aSk7sloToUTWN
|
||||
v29lwnOamz1XtGiWI3xF3pJVmcNxQx2P+T6Q+JAt84vru+amk39MoMO7lTLgWYSw
|
||||
vnzoiPzvU/S5amttUtbq/u2yQHCFAM+eSsRnsSjbV/K5HqFbpp06cikDDpxdZ3tJ
|
||||
OTXqtrBGb6N1aVPb78qSvF+D/UC4Habohoxua5MlZ1mZjuRVm3Nqom/DTH+s+xGJ
|
||||
uQ6T28yYNWCQc/2yTxRTghIUvKqDJvJdsGhOH6bP9FdwdfDF13RW53MGe1HuRcVn
|
||||
8IlEC6yrxpcBg7eBAleCwzhIbZXm7c681rct/aZ8wcliMfqqgGzcyK/4niKRq7or
|
||||
H+VYfpT43NLBRa1NIciv1Y94WsPllgQn0GGj/KHxxuXg2Rb+TF1VKb5UpZESVcXa
|
||||
fFQt6UZCyoI=
|
||||
-----END AGE ENCRYPTED FILE-----
|
7
home/encrypted_work_paths.txt
Normal file
7
home/encrypted_work_paths.txt
Normal file
|
@ -0,0 +1,7 @@
|
|||
-----BEGIN AGE ENCRYPTED FILE-----
|
||||
YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSByV0J4aGFoR3hDSTJvNVp2
|
||||
a1F1NzJmaERoYWwycStJeC9OS0tLaUp0aXpvCjhndzJrQmhRaWo4STRzdWtYTE94
|
||||
Y0V4UHJ5UHlwaXZJOVJXSjdhMktvUWcKLS0tIDRtUHptRjYzT0RHQVJxT2RBbXNa
|
||||
OUwxak52ZVhQL2psSUlpRVhHdzUxZjgKtcrEfrCDzTmLFhPNcnJ/PBMoiIxF0KAE
|
||||
B2lhLyJ6+0OVTHMM6byVr+JnjnIXoA35537EUkQZ+A==
|
||||
-----END AGE ENCRYPTED FILE-----
|
|
@ -1,6 +1,6 @@
|
|||
# vim:fileencoding=utf-8:foldmethod=marker
|
||||
|
||||
#: Fonts {{{
|
||||
#: Fonts
|
||||
|
||||
#: kitty has very powerful font management. You can configure
|
||||
#: individual font faces and even specify special fonts for particular
|
||||
|
@ -246,9 +246,7 @@ font_size 15.0
|
|||
#: problem try setting text_fg_override_threshold to 0 to see if this
|
||||
#: is the cause of the problem.
|
||||
|
||||
#: }}}
|
||||
|
||||
#: Cursor customization {{{
|
||||
#: Cursor customization
|
||||
|
||||
# cursor #cccccc
|
||||
|
||||
|
@ -307,9 +305,7 @@ font_size 15.0
|
|||
#: Stop blinking cursor after the specified number of seconds of
|
||||
#: keyboard inactivity. Set to zero to never stop blinking.
|
||||
|
||||
#: }}}
|
||||
|
||||
#: Scrollback {{{
|
||||
#: Scrollback
|
||||
|
||||
# scrollback_lines 2000
|
||||
|
||||
|
@ -384,9 +380,7 @@ font_size 15.0
|
|||
#: platforms such as macOS and Wayland. Use negative numbers to change
|
||||
#: scroll direction.
|
||||
|
||||
#: }}}
|
||||
|
||||
#: Mouse {{{
|
||||
#: Mouse
|
||||
|
||||
# mouse_hide_wait 3.0
|
||||
|
||||
|
@ -540,7 +534,7 @@ font_size 15.0
|
|||
|
||||
#: The default shape of the mouse pointer when dragging across text.
|
||||
|
||||
#: Mouse actions {{{
|
||||
#: Mouse actions
|
||||
|
||||
#: Mouse buttons can be mapped to perform arbitrary actions. The
|
||||
#: syntax is:
|
||||
|
@ -696,11 +690,7 @@ font_size 15.0
|
|||
#:: Requires shell integration
|
||||
#:: <https://sw.kovidgoyal.net/kitty/shell-integration/> to work.
|
||||
|
||||
#: }}}
|
||||
|
||||
#: }}}
|
||||
|
||||
#: Performance tuning {{{
|
||||
#: Performance tuning
|
||||
|
||||
# repaint_delay 10
|
||||
|
||||
|
@ -730,9 +720,7 @@ font_size 15.0
|
|||
#: monitor. With a very high speed mouse/high keyboard repeat rate,
|
||||
#: you may notice some slight input latency. If so, set this to no.
|
||||
|
||||
#: }}}
|
||||
|
||||
#: Terminal bell {{{
|
||||
#: Terminal bell
|
||||
|
||||
# enable_audio_bell yes
|
||||
|
||||
|
@ -787,9 +775,7 @@ font_size 15.0
|
|||
#: be removed if Linux ever provides desktop-agnostic support for
|
||||
#: setting system sound themes.
|
||||
|
||||
#: }}}
|
||||
|
||||
#: Window layout {{{
|
||||
#: Window layout
|
||||
|
||||
# remember_window_size yes
|
||||
# initial_window_width 640
|
||||
|
@ -984,9 +970,7 @@ font_size 15.0
|
|||
#: want confirmation when closing individual windows, you can map the
|
||||
#: close_window_with_confirmation action.
|
||||
|
||||
#: }}}
|
||||
|
||||
#: Tab bar {{{
|
||||
#: Tab bar
|
||||
|
||||
# tab_bar_edge bottom
|
||||
|
||||
|
@ -1149,9 +1133,7 @@ font_size 15.0
|
|||
#: margins the default color is chosen to match the background color
|
||||
#: of the neighboring tab.
|
||||
|
||||
#: }}}
|
||||
|
||||
#: Color scheme {{{
|
||||
#: Color scheme
|
||||
|
||||
# foreground #dddddd
|
||||
# background #000000
|
||||
|
@ -1248,7 +1230,7 @@ font_size 15.0
|
|||
#: to be used unchanged. Note that these colors can be overridden by
|
||||
#: the program running in the terminal.
|
||||
|
||||
#: The color table {{{
|
||||
#: The color table
|
||||
|
||||
#: The 256 terminal colors. There are 8 basic colors, each color has a
|
||||
#: dull and bright version, for the first 16 colors. You can set the
|
||||
|
@ -1318,13 +1300,9 @@ font_size 15.0
|
|||
|
||||
#: Color for marks of type 3 (violet)
|
||||
|
||||
#: }}}
|
||||
#: Advanced
|
||||
|
||||
#: }}}
|
||||
|
||||
#: Advanced {{{
|
||||
|
||||
# shell .
|
||||
shell .
|
||||
|
||||
#: The shell program to execute. The default value of . means to use
|
||||
#: whatever shell is set as the default shell for the current user.
|
||||
|
@ -1677,9 +1655,7 @@ clipboard_control write-clipboard write-primary no-append
|
|||
#: an "Actions" menu in the macOS global menubar. Sub-menus can be
|
||||
#: created by adding more levels separated by the :: characters.
|
||||
|
||||
#: }}}
|
||||
|
||||
#: OS specific tweaks {{{
|
||||
#: OS specific tweaks
|
||||
|
||||
# wayland_titlebar_color system
|
||||
|
||||
|
@ -1801,9 +1777,7 @@ macos_option_as_alt yes
|
|||
#: Changing this option by reloading the config is not supported, it
|
||||
#: will not have any effect.
|
||||
|
||||
#: }}}
|
||||
|
||||
#: Keyboard shortcuts {{{
|
||||
#: Keyboard shortcuts
|
||||
|
||||
#: Keys are identified simply by their lowercase Unicode characters.
|
||||
#: For example: a for the A key, [ for the left square bracket key,
|
||||
|
@ -1869,7 +1843,7 @@ macos_option_as_alt yes
|
|||
#: cause all invocations of the hints kitten to have the --hints-
|
||||
#: offset=0 option applied.
|
||||
|
||||
#: Clipboard {{{
|
||||
#: Clipboard
|
||||
|
||||
#: Copy to clipboard
|
||||
|
||||
|
@ -1909,9 +1883,7 @@ macos_option_as_alt yes
|
|||
|
||||
#:: map kitty_mod+y new_window less @selection
|
||||
|
||||
#: }}}
|
||||
|
||||
#: Scrolling {{{
|
||||
#: Scrolling
|
||||
|
||||
#: Scroll line up
|
||||
|
||||
|
@ -2001,9 +1973,7 @@ macos_option_as_alt yes
|
|||
#:: Requires shell integration
|
||||
#:: <https://sw.kovidgoyal.net/kitty/shell-integration/> to work.
|
||||
|
||||
#: }}}
|
||||
|
||||
#: Window management {{{
|
||||
#: Window management
|
||||
|
||||
#: New window
|
||||
|
||||
|
@ -2140,9 +2110,7 @@ macos_option_as_alt yes
|
|||
|
||||
#:: Works like focus_visible_window above, but swaps the window.
|
||||
|
||||
#: }}}
|
||||
|
||||
#: Tab management {{{
|
||||
#: Tab management
|
||||
|
||||
#: Next tab
|
||||
|
||||
|
@ -2197,9 +2165,7 @@ macos_option_as_alt yes
|
|||
#: rather than at the end of the tabs list, use::
|
||||
|
||||
#: map ctrl+t new_tab !neighbor [optional cmd to run]
|
||||
#: }}}
|
||||
|
||||
#: Layout management {{{
|
||||
#: Layout management
|
||||
|
||||
#: Next layout
|
||||
|
||||
|
@ -2221,9 +2187,7 @@ macos_option_as_alt yes
|
|||
#: stack layout::
|
||||
|
||||
#: map ctrl+alt+z toggle_layout stack
|
||||
#: }}}
|
||||
|
||||
#: Font sizes {{{
|
||||
#: Font sizes
|
||||
|
||||
#: You can change the font size for all top-level kitty OS windows at
|
||||
#: a time or only the current one.
|
||||
|
@ -2258,9 +2222,7 @@ macos_option_as_alt yes
|
|||
#: size::
|
||||
|
||||
#: map kitty_mod+f6 change_font_size current 10.0
|
||||
#: }}}
|
||||
|
||||
#: Select and act on visible text {{{
|
||||
#: Select and act on visible text
|
||||
|
||||
#: Use the hints kitten to select text and either pass it to an
|
||||
#: external program or insert it into the terminal or copy it to the
|
||||
|
@ -2326,9 +2288,7 @@ macos_option_as_alt yes
|
|||
#: The hints kitten has many more modes of operation that you can map
|
||||
#: to different shortcuts. For a full description see hints kitten
|
||||
#: <https://sw.kovidgoyal.net/kitty/kittens/hints/>.
|
||||
#: }}}
|
||||
|
||||
#: Miscellaneous {{{
|
||||
#: Miscellaneous
|
||||
|
||||
#: Show documentation
|
||||
|
||||
|
@ -2524,6 +2484,3 @@ macos_option_as_alt yes
|
|||
|
||||
# map cmd+q quit
|
||||
|
||||
#: }}}
|
||||
|
||||
#: }}}
|
|
@ -16,7 +16,7 @@ sudo apt install \
|
|||
zsh \
|
||||
-y
|
||||
|
||||
{{ else if eq .chezmoi.os "darwin" -}}
|
||||
{{ else if eq .hosttype "personal" -}}
|
||||
sudo port install \
|
||||
cmus \
|
||||
curl \
|
||||
|
@ -52,15 +52,25 @@ sudo apt install \
|
|||
{{ end }}
|
||||
|
||||
{{ if eq .hosttype "work" -}}
|
||||
sudo port install \
|
||||
1password-cli \
|
||||
docker-credential-helper-ecr \
|
||||
gh \
|
||||
jq \
|
||||
k9s \
|
||||
kind \
|
||||
libmemcached \
|
||||
saml2aws \
|
||||
shfmt \
|
||||
stern
|
||||
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
|
||||
eval "$(/opt/homebrew/bin/brew shellenv)"
|
||||
brew install \
|
||||
cmus \
|
||||
curl \
|
||||
direnv \
|
||||
fzf \
|
||||
git \
|
||||
git-delta \
|
||||
helix \
|
||||
jj \
|
||||
kitty \
|
||||
ripgrep \
|
||||
tmux \
|
||||
tree \
|
||||
watch \
|
||||
wget \
|
||||
xz \
|
||||
zellij \
|
||||
zk \
|
||||
zsh
|
||||
{{ end }}
|
||||
|
|
Loading…
Add table
Reference in a new issue