Skip to content

stevehipwell/dotfiles

Repository files navigation

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.

Debian

WSL2

TBC.

Prerequisites

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

Install Chezmoi

Run the following commands to install and initialise chezmoi.

brew install chezmoi
chezmoi init --apply [email protected]:stevehipwell/dotfiles.git

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 [email protected]: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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published