This my little automation of setting up my environment.
Originlly it was using just home-manager for everthing. Trying out a gnu stow for config files instead. I still use my nix home-manager flake for per-user package management.
curl -L https://codeberg.org/CourteousCoder/dotfiles/raw/branch/main/bootstrap.sh | sh -s
First:
SOURCE="[email protected]:CourteousCoder/dotfiles.git"
DEST="$HOME/.dotfiles"
git clone "$SOURCE" "$DEST"
"$PAGER" "$DEST/bootstrap.sh"
Then inspect the script before you run it:
"$DEST/bootstrap.sh"
This is just a fun little tinkering project for myself. There are probably way better ways of handling this, and that's okay with me.
If you really want to contribute or share your opinion, go ahead and create an issue. I always welcome opportunities to improve!