News for hackers. Stuff that matters.
Re:Ask HN: Developer PC setup automations for company owned ... by amne on Thursday August 29, 2024 @09:55AM (#41390871)
I usually live in WSL2 on Windows running on company provided laptop. Each time the laptop has to be replaced (failure or age) I struggled to get my "home" back up so a couple of years ago I took a full day to setup my so-called "dot files repo".

My goal was to be able to install any debian-based distro and run a single script, non-interactive, that would get me up and running. All that I needed to do was to clone code I wanted to work on.

After I created the dot files repo the process was:

- install distro

- checkout dot files

- run script

- do I have everything I need? (minikube, k9s, jq, yq, asdf, terraform, git config, nvim config, etc.)

- if no, then:

   - fix, commit, push

   - remove distro
Re:Ask HN: Developer PC setup automations for company owned ... by tracker1 on Thursday August 29, 2024 @11:52AM (#41392123)
I have similar in a backup directory on my NAS. Works pretty well in general for getting my home directory up and good.

WSL, I usually have to make a few adjustments, mostly so that I can use the git credential manager installed in windows from Linux git.

Re:Ask HN: Developer PC setup automations for company owned ... by naragon on Thursday August 29, 2024 @03:37PM (#41394520)
Similar set up with a dotfile repo then I use GNU Stow to manage my dotfiles once I clone the repo.