diff --git a/hosts/nas/nix-serve.nix b/hosts/nas/nix-serve.nix index d74ee5a..ba74529 100755 --- a/hosts/nas/nix-serve.nix +++ b/hosts/nas/nix-serve.nix @@ -44,7 +44,6 @@ echo "matt-nixos flake updated successfully at $(date)" else echo "matt-nixos failed to build at $(date)" - exit 1 fi if nix build .\#nixosConfigurations.matt-nixos.config.system.build.toplevel --no-link; then echo "matt-nixos built successfully at $(date)" @@ -53,7 +52,6 @@ else echo "matt-nixos failed to build at $(date)" git reset --hard - exit 1 fi echo "Starting build of steamdeck at $(date)" @@ -62,7 +60,6 @@ else echo "steamdeck flake failed to update at $(date)" git reset --hard - exit 1 fi if nix build .\#nixosConfigurations.steamdeck.config.system.build.toplevel --no-link; then echo "steamdeck built successfully at $(date)" @@ -71,32 +68,13 @@ else echo "steamdeck failed to build at $(date)" git reset --hard - exit 1 fi - # echo "Starting build of jallen-nas at $(date)" - # if nix flake update nas-nixpkgs nas-authentik-nix nas-cosmic nas-crowdsec nas-home-manager nas-impermanence nas-lanzaboote nas-nixos-hardware nas-sops-nix; then - # echo "jallen-nas flake updated successfully at $(date)" - # else - # echo "jallen-nas flake failed to update at $(date)" - # exit 1 - # fi - # if NIXPKGS_ALLOW_UNFREE=1 nix build .\#nixosConfigurations.jallen-nas.config.system.build.toplevel --no-link --impure; then - # echo "jallen-nas built successfully at $(date)" - # git add . - # git commit -m "Jallen-NAS Updates $(date)" - # else - # echo "jallen-nas failed to build at $(date)" - # git reset --hard - # exit 1 - # fi - echo "Starting build of pi4 at $(date)" if nix flake update pi4-nixpkgs pi4-home-manager pi4-impermanence pi4-sops-nix pi4-nixos-hardware pi4-nixos-raspberrypi pi4-disko; then echo "pi4 flake updated successfully at $(date)" else echo "pif flake failed to update at $(date)" - exit 1 fi if nix build .\#nixosConfigurations.pi4.config.system.build.toplevel --no-link --impure; then echo "pi4 built successfully at $(date)" @@ -105,7 +83,6 @@ else echo "pi4 failed to build at $(date)" git reset --hard - exit 1 fi echo "Starting build of pi5 at $(date)" @@ -113,7 +90,6 @@ echo "pi5 flake updated successfully at $(date)" else echo "pi5 flake failed to update at $(date)" - exit 1 fi if nix build .\#nixosConfigurations.pi5.config.system.build.toplevel --no-link; then echo "pi5 built successfully at $(date)" @@ -122,7 +98,6 @@ else echo "pi5 failed to build at $(date)" git reset --hard - exit 1 fi # git push @@ -147,4 +122,21 @@ RandomizedDelaySec = "1h"; # Spread load }; }; -} \ No newline at end of file +} + + # echo "Starting build of jallen-nas at $(date)" + # if nix flake update nas-nixpkgs nas-authentik-nix nas-cosmic nas-crowdsec nas-home-manager nas-impermanence nas-lanzaboote nas-nixos-hardware nas-sops-nix; then + # echo "jallen-nas flake updated successfully at $(date)" + # else + # echo "jallen-nas flake failed to update at $(date)" + # exit 1 + # fi + # if NIXPKGS_ALLOW_UNFREE=1 nix build .\#nixosConfigurations.jallen-nas.config.system.build.toplevel --no-link --impure; then + # echo "jallen-nas built successfully at $(date)" + # git add . + # git commit -m "Jallen-NAS Updates $(date)" + # else + # echo "jallen-nas failed to build at $(date)" + # git reset --hard + # exit 1 + # fi \ No newline at end of file