nixos-config/switch

13 lines
155 B
Plaintext
Raw Normal View History

2022-07-20 22:19:07 -03:00
#!/usr/bin/env bash
2024-03-23 12:41:45 -03:00
nix fmt
2024-04-29 11:35:57 -03:00
git --no-pager diff
2024-03-23 12:41:45 -03:00
2024-09-29 00:11:28 -03:00
nixos-rebuild \
2022-11-11 16:16:12 -03:00
switch \
2024-09-29 00:11:28 -03:00
--use-remote-sudo \
2022-11-11 16:16:12 -03:00
--print-build-logs \
--flake .# \
2024-10-10 23:04:59 -03:00
"$@"