fix: don't hardcode nrb path and hostname

This commit is contained in:
buffet 2024-05-17 11:12:19 +02:00
parent fe18a2bf92
commit a74ea2571a

View file

@ -9,10 +9,10 @@
exit 1 exit 1
} }
nixos-rebuild build --flake ~buffet/rice#alice || exit 1 nixos-rebuild build --flake . || exit 1
diff="$(${pkgs.nvd}/bin/nvd diff /run/current-system result)" diff="$(${pkgs.nvd}/bin/nvd diff /run/current-system result)"
rm result rm result
nixos-rebuild switch --flake ~buffet/rice#alice nixos-rebuild switch --flake .
echo '***' echo '***'
printf '%s\n' "$diff" printf '%s\n' "$diff"
'') '')