nixos-config/switch-phantom
2024-05-03 12:32:38 -03:00

13 lines
192 B
Bash
Executable file

#!/bin/sh
nix fmt
git --no-pager diff
nixos-rebuild switch --flake .#phantom \
--update-input nixpkgs \
--no-write-lock-file \
--build-host phantom \
--target-host phantom \
"$@"