fix: revert to standalone Home Manager architecture for fast UI updates
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
# Nomarchy Environment Update Script
|
||||
# 1. Runs the pre-flight state migration
|
||||
# 2. Applies user-level Home Manager changes
|
||||
# 2. Applies user-level Home Manager changes (Standalone)
|
||||
|
||||
set -e
|
||||
|
||||
@@ -21,8 +21,8 @@ if command -v nomarchy-preflight-migration >/dev/null 2>&1; then
|
||||
nomarchy-preflight-migration
|
||||
fi
|
||||
|
||||
# Apply changes via nixos-rebuild (since home-manager is integrated as a NixOS module)
|
||||
echo "Applying user-level changes from $REPO_DIR using nixos-rebuild..."
|
||||
sudo nixos-rebuild switch --flake "$REPO_DIR#default" --impure
|
||||
# Apply Home Manager changes from the local flake (Standalone)
|
||||
echo "Applying user-level changes from $REPO_DIR#$USER..."
|
||||
home-manager switch --flake "$REPO_DIR#$USER" --impure
|
||||
|
||||
echo "Environment update complete."
|
||||
|
||||
Reference in New Issue
Block a user