aboutsummaryrefslogtreecommitdiff

Rubén's Configuration Files.

This repository contains my unix configuration files, used on macOS, and a few linux flavors.

You can check which configurations it provides by checking config and home.

Prerequisites

The scripts here have support for brew, dnf, pacman, or apt.

It assumes you have an SSH key that can pull from git.

macOS

Install brew by following the instructions in brew.sh. It might also be a good idea to install the xcode command line tools with xcode-select --install

Usage

  1. Clone this repository to ~/.dotfiles
  2. Run ./install from the root of this project.

By default, the script will attempt to provision software marked as essential before installing. You can skip this behavior by using the --skip-provisioning flag.

Provisioning

These dotfiles include some provisioning scripts for brew, dnf, pacman, and apt.

To set up run ./provision <recipe> where <recipe> is one of:

  • essential
  • nice
  • cask_essential (only brew)
  • cask_nice (only brew)

To see what each recipe installs, check the files under provisioning/

Local zshrc

For local modifications to the zshrc create ~/.zshrc.local.

Local nvim overrides

For local modifications to your neovim init create ~/.config/nvim/lua/init_local.lua

Environment modification

In order to specify the environment in the prompt, create a function called env_info_provider and echo your environment details (eg. dev, staging, production)

Private Files

There are some potentially sensitive files included. They're encrypted with age. If you need them you can run ./sensitive. To update them if they change, run ./sensitive update instead.

For passwords, make sure you have setup the passage store.