Important
These config files are tailored to my workflow. The main reason i threw them in a public repository is so I can quickly apply them to any system and have a familiar environment within seconds. Go ahead and break your system, I know you want to.
The dotfiles and config scripts are useful to
- get a familiar environment on a new system within secons.
- sync all configurations across existing systems.
- flex my ricing skills.
- waste a lot of time that I should have spent programming something useful.
I manage these files with a tool called chezmoi, which also runs scripts for defined conditions.12 To bootstrap the setup of a completely new system, there is a script that can be curled into an unsuspecting bash
shell which sets everyting up.
Note
For NixOS systems check out my nix configurations. First, build the system and then run the bootsrap script afterwards. All scripts are OS/distro aware and run accordingly.
If you are on a fresh Linux/MacOS installation, this is the way to go:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/inverted-tree/dotfiles/refs/heads/main/bootstrap.sh)"
If you are on an existing system, the above should work just fine. However, if chezmoi is already installed, one can apply the dotfiles with the following snippet:
chezmoi init --apply https://github.com/inverted-tree/dotfiles.git --exclude=scripts
Caution
No guarantee this will not completely nuke your system, but hey, it works on my machine.