feat: make nrb fetch from remote by default
All checks were successful
/ check (push) Successful in 4m22s

This commit is contained in:
buffet 2024-05-20 10:39:09 +02:00
parent e02e3557dc
commit b912daedcd

View file

@ -9,10 +9,12 @@
exit 1 exit 1
} }
nixos-rebuild build --flake . || exit 1 flake="''${1:-https://buffets.kitchen/kitchen/rice/archive/main.tar.gz}"
nixos-rebuild build --flake "$flake" --option tarball-ttl 0|| 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 . nixos-rebuild switch --flake "$flake" --option tarball-ttl 0
echo '***' echo '***'
printf '%s\n' "$diff" printf '%s\n' "$diff"
'') '')