#!/usr/bin/env sh

# Rebuild and switch the environment if successful
git add .
./fmt
sudo nixos-rebuild switch --flake .#