WSL dotfiles — mirrored from GitLab, push here from personal
  • Nix 51.5%
  • Shell 48.5%
Find a file
2026-08-18 04:10:00 +00:00
scripts install.sh: retry nix installer — handles transient WSL systemd boot race 2026-08-16 12:59:03 +00:00
wsl add install.sh + backup.sh for single-command fresh setup; track wsl.conf; manage mise tools via home.nix 2026-08-15 15:28:24 +00:00
.gitignore kiss cleanup: drop legacy (inputs arg, home-manager.enable, dup git pkg, mise activate dup, direnv ignores, bad git key, stale result) 2026-08-15 15:37:22 +00:00
flake.lock chore: updated nvim config 2026-08-18 04:10:00 +00:00
flake.nix kiss cleanup: drop legacy (inputs arg, home-manager.enable, dup git pkg, mise activate dup, direnv ignores, bad git key, stale result) 2026-08-15 15:37:22 +00:00
home.nix hrs owns ~/.config/nix/nix.conf; install.sh ensures flakes before first nix run 2026-08-16 12:34:25 +00:00
README.md README: document git/curl prereq gate in fresh-machine section 2026-08-16 12:46:00 +00:00

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)