// readme

dotfiles

  • Generate a new ssh key and give it a passphrase

    ssh-keygen -t ed25519 -C "34140052+andrewbrey@users.noreply.github.com"
    
  • Add the ssh key to GitHub: https://github.com/settings/keys (Add it twice, once as an “Authentication key” and once as a “Signing key”)

  • Clone dotfiles to local

    git clone git@github.com:andrewbrey/dotfiles.git ~/dotfiles
    
  • Run bootstrap

    ~/dotfiles/script/bootstrap
    
  • (Optional) Delete manually cloned dotfiles now that there is a chezmoi managed copy

    Use chezmoi to locate managed dotfiles, in particular with $(chezmoi source-path)

    rm -rf ~/dotfiles
    
  • Log out and back in to ensure changes to the login shell are enabled

  • Use the pam cli to install applications, e.g. a few apps at once

    pam install -a core-tools -a wezterm -a fonts
    

    or a whole named group at once

    pam install -g devcontainer
    
  • Use the sam cli to apply settings

    sam apply
    

init script requirements

init/ scripts should be executable and have a shebang similar to:

#!/usr/bin/env -S deno run --allow-sys --allow-read --allow-net…