nixos-config/switch
2024-10-10 23:04:59 -03:00

13 lines
155 B
Bash
Executable file

#!/usr/bin/env bash
nix fmt
git --no-pager diff
nixos-rebuild \
switch \
--use-remote-sudo \
--print-build-logs \
--flake .# \
"$@"