Regenerated
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
#!/usr/bin/env bash
|
||||
set -e
|
||||
REPO="$HOME/Repos/nixos/Droidnix" # adjust this to your flake repo path
|
||||
HOSTNAME="$(hostname)"
|
||||
cd "$REPO"
|
||||
echo "🔄 Updating flake..."
|
||||
nix flake update
|
||||
echo "🏗 Rebuilding NixOS..."
|
||||
sudo nixos-rebuild switch --flake ".#$HOSTNAME"
|
||||
echo "📦 Updating Flatpaks..."
|
||||
flatpak update -y
|
||||
Reference in New Issue
Block a user