Skip to content

Latest commit

 

History

History
63 lines (42 loc) · 1.62 KB

README.md

File metadata and controls

63 lines (42 loc) · 1.62 KB

Dotfiles (mitamae)

Inspired by K0kubun's dotfiles I transitioned to using mitamae to manage my dotfiles.

Usage

git clone [email protected]:eightbitraptor.com/dotfiles-mitamae ~/.dotfiles
cd ~/.dotfiles 
./install.sh

Debugging

EBR_LOG_LEVEL=debug ./install.sh

There's a Containerfile in the repo, so if you don't want to test on your local machine then you can build this using

podman build .

But bear in mind that systemd stuff won't work in a container.

Structure

base.rb

Contains glue code and custom definitions that make most of this structure work together. Also configures the prelude recipes - these are OS specific recipes that should run on every machine of a particular OS. They should do basic OS specific config that is guaranteed to be needed on every machine of that type.

As a general rule, try not to add new code to the preludes.

nodes

  • senjougahara - Development Desktop, Fedora 37.
  • fern - Personal Laptop, Thinkpad X1 Carbon gen 6, i7-8550U, Void Linux.
  • miyoshi - Work laptop, Macbook Pro M3, macOS
  • spin - A basic editing environment when used with Spin, Shopify's internal cloud dev env

recipes

Individual recipes go here, I try and keep them as single purpose as possible, hence sway, emacs, vim etc.

files

Associated with recipes, convention is to put files in a subdirectory according to their recipe, so files/git/gitconfig etc.

templates

Follow the same convention as files