From f23585c9a926b901cc436920416b0c747f53b3a3 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Fri, 31 Oct 2025 21:14:37 +0100 Subject: update.sh: Also build the hosts This makes unattended updates easier, as you don't need to issue the command after the update finished. --- update.sh | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'update.sh') diff --git a/update.sh b/update.sh index e22f4ea..669ab7a 100755 --- a/update.sh +++ b/update.sh @@ -12,4 +12,9 @@ __update_sh_run() { __update_sh_run nix flake update __update_sh_run ./pkgs/update_pkgs.sh "$@" + + +for host in "server2" "server3"; do + nix build ".#nixosConfigurations.$host.config.system.build.toplevel" --print-out-paths --no-link --option max-jobs 1 +done # vim: ft=sh -- cgit 1.4.1