Desktop Updates Fri May 30 05:51:49 PM CDT 2025

This commit is contained in:
mjallen18
2025-05-30 17:51:49 -05:00
parent b3ebf5f39d
commit d627e7dd9d

View File

@@ -99,6 +99,22 @@
echo "pi5 failed to build at $(date)"
git reset --hard
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)"
fi
export NIXPKGS_ALLOW_UNFREE=1
if 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
fi
# git push
'';
@@ -122,21 +138,4 @@
RandomizedDelaySec = "1h"; # Spread load
};
};
}
# 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
}