Skip to content

Latest commit

 

History

History
81 lines (54 loc) · 1.63 KB

README.md

File metadata and controls

81 lines (54 loc) · 1.63 KB

DotFiles

Overview

This repo is intended to be consumed by chezmoi to configure machines.

Installation

The following installation guides can be followed to configure a new machine.

Linux

TBC.

Windows

Prerequisites

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

Install Chezmoi

Run the following commands to install and initialise chezmoi.

scoop install chezmoi
chezmoi init --apply git@github.com:stevehipwell/dotfiles.git

WSL 2

TBC.

Daily Operations

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