System/update.sh

23 lines
675 B
Bash
Raw Permalink Normal View History

2023-05-14 19:25:28 -04:00
#!/usr/bin/env bash
2023-05-15 07:58:38 -04:00
set -exou pipefail
2023-05-14 19:25:28 -04:00
DIRECTORY=$(realpath "$(dirname "$0")")
# Update our sources first
2023-11-08 23:31:56 -05:00
# $DIRECTORY/sources/update-sources.sh
2023-05-14 19:25:28 -04:00
# Then update the flake
nix flake update
# Make sure we still build our systems
2023-05-15 10:20:13 -04:00
# aarch64 systems are excluded for now due to slowness
2023-05-14 19:25:28 -04:00
nix build .#nixosConfigurations.oracles.config.system.build.toplevel
2023-06-09 23:57:51 -04:00
nix build .#nixosConfigurations.pendulum.config.system.build.toplevel
2023-05-15 10:20:13 -04:00
# nix build .#nixosConfigurations.tounge.config.system.build.toplevel
2023-05-14 19:25:28 -04:00
nix build .#nixosConfigurations.perception.config.system.build.toplevel
2023-05-15 10:20:13 -04:00
# nix build .#nixosConfigurations.fusion.config.system.build.toplevel
2023-05-14 19:25:28 -04:00
# Collect garbage
nix-collect-garbage