fix: revert to standalone Home Manager architecture for fast UI updates

This commit is contained in:
Bernardo Magri
2026-04-13 13:57:31 +01:00
parent 73ae1232f3
commit 540718693f
4 changed files with 53 additions and 43 deletions

View File

@@ -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