Simple Machine Specific Env
Published Fri Feb 02 2024I wrote previously about how I use YADM for my dots. I chose it because it was simple. Even though cross-machine managment was overkill for me I still have a few variables such as local API keys to store on my machine. This is my very simple solution:
source $HOME/.config/fish/config.(whoami).fish
Calling source on a separate config or rc file aliased with whoami
creates a convenient spot for my local secrets. I use whoami
because I do not want a uniform file that may be committed by mistake. If I push one of these the contents won’t effect my other machine. Unless I start using the same username on everything.