Regenerated

This commit is contained in:
2026-04-29 12:31:04 +02:00
parent 9b12730dba
commit 663117b352
6 changed files with 451 additions and 482 deletions
@@ -1,22 +0,0 @@
#!/usr/bin/env bash
# --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. ---
set -uo pipefail
REPO="/home/$USER/Repos/nixos/Droidnix"
HOSTNAME="$(hostname)"
cd "$REPO"
run() {
echo
echo "$1"
shift
"$@" || { echo "❌ Failed: $1"; exit 1; }
}
run "Fixing ownership" sudo chown -R "$USER":"wheel" "$REPO"
run "Updating flake" nix flake update
run "Rebuilding NixOS" sudo nixos-rebuild switch --flake ".#$HOSTNAME" && hyprctl reload
run "Updating Flatpaks" flatpak uninstall --unused && flatpak update --appstream && flatpak update -y
echo
echo "✅ Done"