fix: revert to standalone Home Manager architecture for fast UI updates
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
# Nomarchy Update Script
|
||||
# 1. Updates the flake inputs in the repository
|
||||
# 2. Applies system-wide NixOS changes
|
||||
# 3. Applies user-level Home Manager changes
|
||||
# 3. Applies user-level Home Manager changes (Standalone)
|
||||
|
||||
set -e
|
||||
|
||||
@@ -27,9 +27,9 @@ sudo nix flake update --flake "$REPO_DIR"
|
||||
echo "Applying system-level updates..."
|
||||
sudo nixos-rebuild switch --flake "$REPO_DIR#default" --impure
|
||||
|
||||
# 3. Rebuild Home Environment
|
||||
# 3. Rebuild Home Environment (Standalone)
|
||||
echo "Applying user-level updates..."
|
||||
home-manager switch --flake "$REPO_DIR#default" --impure
|
||||
home-manager switch --flake "$REPO_DIR#$USER" --impure
|
||||
|
||||
# 4. Commit changes if it's a git repo
|
||||
if [ -d "$REPO_DIR/.git" ]; then
|
||||
|
||||
Reference in New Issue
Block a user