This repo is intended to be consumed by chezmoi to configure machines.
The following installation guides can be followed to configure a new machine.
TBC.
Run the following script to configure apt
packages.
sudo apt update && sudo apt upgrade -y
apt install build-essential procps curl file git
Install the following components.
Run the following script to add additional packages.
brew install starship
Create a SSH key with the following command and add it to GitHub.
ssh-keygen -o -a 100 -t ed25519 -f ~/.ssh/id_ed25519
Run the following commands to install and initialise chezmoi.
brew install chezmoi
chezmoi init --apply git@github.com:stevehipwell/dotfiles.git
Configure Windows with the following changes.
- Enable developer mode
- Turn Windows features on
- Telnet Client
- Virtual Machine Platform
- Windows Subsystem for Linux
- Turn optional features off
- OpenSSH
Install the following components.
Create a SSH key with the following command and add it to GitHub.
ssh-keygen -o -a 100 -t ed25519 -f ~/.ssh/id_ed25519
Run the following commands to install and initialise chezmoi.
scoop install chezmoi
chezmoi init --apply git@github.com:stevehipwell/dotfiles.git
TBC.
You can use the following command to keep a machine updated.
chezmoi update
Or you can use the following commands to view the changes before applying them.
chezmoi git pull -- --autostash --rebase && chezmoi diff
chezmoi apply
To open the config in VS Code you can run the following command.
code ~/.local/share/chezmoi