WSL dotfiles — mirrored from GitLab, push here from personal
- Nix 51.5%
- Shell 48.5%
| scripts | ||
| wsl | ||
| .gitignore | ||
| flake.lock | ||
| flake.nix | ||
| home.nix | ||
| README.md | ||
wsl-dotfiles
Home Manager config for this WSL machine. Everything is public; the only secret
is the SSH private key, which lives in OneDrive via scripts/backup.sh.
Layout
| Path | Purpose |
|---|---|
home.nix / flake.nix |
the config — apply with hrs |
scripts/install.sh |
one-command setup on a fresh distro |
scripts/backup.sh |
private key → OneDrive |
scripts/kore-repos.sh |
snapshot / on-demand clone of work repos |
wsl/wsl.conf |
WSL system config (copy to /etc/wsl.conf) |
Fresh machine
Prereqs git and curl must be present — if not, install.sh prints the
package-manager command for your distro (Ubuntu, Fedora, Arch, openSUSE) and
exits; install them, then re-run.
bash <(curl -fsSL https://gitlab.com/anair13/wsl-dotfiles/-/raw/main/scripts/install.sh)
glab auth login
Day to day
hrs # apply home.nix changes (shell alias)
./scripts/backup.sh # after changing SSH keys
./scripts/kore-repos.sh update # refresh repo manifest, then commit it
./scripts/kore-repos.sh clone # restore all repos (fresh machine)