Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/grendel-consulting/dotfiles
Defaults and configuration for macOS across machines
https://github.com/grendel-consulting/dotfiles
configuration dotfiles macos
Last synced: about 1 month ago
JSON representation
Defaults and configuration for macOS across machines
- Host: GitHub
- URL: https://github.com/grendel-consulting/dotfiles
- Owner: grendel-consulting
- License: mit
- Created: 2024-10-19T11:49:17.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-12-20T06:20:04.000Z (about 1 month ago)
- Last Synced: 2024-12-20T07:26:04.547Z (about 1 month ago)
- Topics: configuration, dotfiles, macos
- Language: Shell
- Homepage:
- Size: 573 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Dotfiles for Grendel Consulting
[![OpenSSF Scorecard](https://api.scorecard.dev/projects/github.com/grendel-consulting/dotfiles/badge)](https://scorecard.dev/viewer/?uri=github.com/grendel-consulting/{repo})Configuration and settings to rapidly bootstrap a new machine using [Chezmoi](https://www.chezmoi.io/)
We're using [ZSH](https://en.wikipedia.org/wiki/Z_shell) with [Oh My Zsh](https://github.com/ohmyzsh/ohmyzsh/) for plugins and [Antigen](https://github.com/zsh-users/antigen) for plugin management. Applications, tools and utiliies rely on [Homebrew](https://brew.sh/) for package management.
Our shell is [Starship](https://starship.rs/), running in [iTerm2](https://iterm2.com/) and [Visual Studio Code](https://code.visualstudio.com/) terminals, with a fallback setup for macOS Terminal running `bash`. We're using modern alternatives to `cd`, `cat` and `ls`.
Of course, secrets stay in [1Password](https://developer.1password.com/docs/cli), which also handles SSH key management and commit signing.
## Usage
## Prerequisites
With an existing setup, back everything up first. You will need XCode command-line tools and Homebrew, see below.
### Installation
1. Install the prerequisites and `brew install chezmoi` then `chezmoi init grendel-consulting`, either manually or with the `.bootstrap.sh` script
2. Preview with `chezmoi diff`
3. Apply with `chezmoi apply`Optionally, run the following one-liner:
```sh
sh -c "$(curl -fsLS get.chezmoi.io)" -- init --apply grendel-consulting
```### Manual Steps
Everything not handled by Chezmoi is manual; some existing todos:
- Adopt sensible macOS privacy, productivity and security defaults
- Adopt secret versioning and hashes, coupled with tagging to telegraph
- Extract other configuration, i.e. for Flux, Ice, Rectangle, iTerm2, VS Code, Chrome, Sublime
- Adopt and configure atuin and direnvYou will need to sign in to various tools for their own inbuilt syncing to happen: 1Password, vscode
You may need to launch tools first time to configure launch on startup and checking for updates
You may need to explicitly grant permissions to various tools: Flux, Ice, Rectangle
### Maintenance
Regular maintenance tasks should be handled through scripts here too.