nixos-config/switch
2024-03-23 12:41:45 -03:00

14 lines
157 B
Bash
Executable file

#!/usr/bin/env bash
nix fmt
git diff
sudo nice ionice \
nixos-rebuild \
switch \
--verbose \
--print-build-logs \
--flake .# \
$@