Skip to content

Latest commit

 

History

History
50 lines (34 loc) · 1.27 KB

README.md

File metadata and controls

50 lines (34 loc) · 1.27 KB

New Host Setup

Nix

Install nix, which is referenced by the dotfiles and provides all the applications. Use Determinate System's installer which makes the install super-easy:

curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install

Dotfiles

Dotfiles are managed with Git, using YADM. Once setup, the environment is then managed using Nix/home-manager to install all the shells, tools, etc.

Install YADM by cloning it - this allows for easy updates:

git clone https://github.com/TheLocehiliosan/yadm.git ~/.yadm-project

# "Install" to a loation in the default path.
sudo ln -s ~/.yadm-project/yadm /usr/local/bin/yadm

Clone the actual dotfiles repo:

yadm clone git@github.com:jasonpeacock/dotfiles.git

Decrypt any secrets.

yadm decrypt

Create host-specific versions of the following files:

~/.config/host-init/<hostname>.fish
~/.config/home-manager/ssh.nix##hostname.<hostname>
~/.config/home-manager/git/host.nix##hostname.<hostname>

Run the bootstrap, which will link any host-specific files and perform other setup work such as installing Nix and running home-manager.

yadm bootstrap