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 mise

Install using,

mise setup

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 -f "$(pwd)/id_ed25519" -C "$(whoami)"

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

Then run,

mise deploy 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,

mise deploy home

Use --teardown flag to remove all changes.

TIP: See mise deploy -h for all CLI arguments.

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks