Regenerated

This commit is contained in:
2026-04-29 11:23:31 +02:00
parent 75f4969882
commit b08966eaeb
3 changed files with 439 additions and 418 deletions
+405 -398
View File
File diff suppressed because it is too large Load Diff
+17 -10
View File
@@ -3989,22 +3989,29 @@ main
** =generated/.config/scripts/update.sh=
A file containing color variables
#+BEGIN_SRC sh :tangle generated/.config/scripts/update.sh :shebang "#!/usr/bin/env bash" :noweb yes :mkdirp yes :eval never
set -e
set -uo pipefail
REPO="/home/$USER/Repos/nixos/Droidnix"
HOSTNAME="$(hostname)"
cd "$REPO"
echo "🔧 Fixing ownership..."
sudo chown "$USER":"$USER" flake.lock 2>/dev/null || true
run() {
echo
echo "$1"
shift
if ! "$@"; then
echo "❌ Failed: $1"
return 1
fi
}
echo "🔄 Updating flake..."
nix flake update
run "Fixing ownership" sudo chown "$USER":"$USER" flake.lock 2>/dev/null || true
run "Updating flake" nix flake update || exit 1
run "Rebuilding NixOS" sudo nixos-rebuild switch --flake ".#$HOSTNAME" || exit 1
run "Updating Flatpaks" flatpak update -y
echo "🏗 Rebuilding NixOS..."
sudo nixos-rebuild switch --flake ".#$HOSTNAME"
echo "📦 Updating Flatpaks..."
flatpak update -y
echo
echo "✅ Done"
#+END_SRC
** =generated/.config/wofi/scripts/wofi-launcher.sh=
+17 -10
View File
@@ -1,18 +1,25 @@
#!/usr/bin/env bash
# --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. ---
set -e
set -uo pipefail
REPO="/home/$USER/Repos/nixos/Droidnix"
HOSTNAME="$(hostname)"
cd "$REPO"
echo "🔧 Fixing ownership..."
sudo chown "$USER":"$USER" flake.lock 2>/dev/null || true
run() {
echo
echo "$1"
shift
if ! "$@"; then
echo "❌ Failed: $1"
return 1
fi
}
echo "🔄 Updating flake..."
nix flake update
run "Fixing ownership" sudo chown "$USER":"$USER" flake.lock 2>/dev/null || true
run "Updating flake" nix flake update || exit 1
run "Rebuilding NixOS" sudo nixos-rebuild switch --flake ".#$HOSTNAME" || exit 1
run "Updating Flatpaks" flatpak update -y
echo "🏗 Rebuilding NixOS..."
sudo nixos-rebuild switch --flake ".#$HOSTNAME"
echo "📦 Updating Flatpaks..."
flatpak update -y
echo
echo "✅ Done"