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

@@ -100,6 +100,22 @@
git reset --hard git reset --hard
fi 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 # git push
''; '';
# # Send an email on failure (optional) # # Send an email on failure (optional)
@@ -123,20 +139,3 @@
}; };
}; };
} }
# 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