Skip to content

Latest commit

 

History

History
52 lines (39 loc) · 1.31 KB

README.md

File metadata and controls

52 lines (39 loc) · 1.31 KB

dotfiles

My personal configuration files and scripts.

I use yadm to manage my dotfiles.

Installation

MacOS

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
eval "$(/opt/homebrew/bin/brew shellenv)"
brew install yadm git-crypt
yadm clone https://github.com/Mellbourn/dotfiles.git
yadm crypt unlock <keyfile>
yadm bootstrap
.config/yadm/bootstrap-sudo

Windows Subsystem for Linux

Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux

Install Ubuntu from the Windows store, then continue the instructions under the heading "Ubuntu"

Ubuntu & Debian

sudo apt update -y
sudo apt upgrade -y
sudo apt install -y git yadm
ssh-keygen -t ed25519 -C "[email protected]"
<add ssh key to github>
yadm clone https://github.com/Mellbourn/dotfiles.git
yadm crypt unlock <keyfile>
yadm submodules update
yadm bootstrap
~/.config/yadm/bootstrap-sudo

post Installation

After SSH keys have been set up, enable pushing changes by pasting the public key into GitHub and changing the remote URL.

pbcopy < ~/.ssh/id_rsa.pub
# paste the key manually to github account, then change the remote url
yadm remote set-url origin [email protected]:Mellbourn/dotfiles.git