Skip to content

activatedgeek/dotfiles

Repository files navigation

dotfiles

Lint

Setup

Install homebrew,

/usr/bin/env bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

and install uv for Python environments,

brew install uv

Create a virtual environment with uv venv, and install,

make install

Environment Variables

Setup the following environment variables (optionally in a .env file).

  • BWS_ORG_ID: Bitwarden Organization ID to get secrets from. See docs.
  • BWS_ACCESS_TOKEN: Bitwarden Secrets token to get secrets. See docs.
BWS_ORG_ID="<id>"
BWS_ACCESS_TOKEN="<token>"

SSH

Generate SSH keys using,

ssh-keygen -t ed25519

and move to appropriate folder under SSH files. See SSH task for accessed paths.

Then run,

make infra.home

Authorize each target remote host manually from the inventory to use the SSH key,

ssh-copy-id -i files/ssh/<org>/id_ed25519 <host>

Deploy

Finally, run,

make infra.home

Dedeploy

For teardown tasks,

make uninfra.home