Unbitch flake.nix - extract shell scripts to separate files

- Moved all inline shell scripts to packages/scripts/
- Created packages/default.nix for clean package definitions
- Reduced flake.nix from 400+ lines to ~80 lines
- Maintained all functionality while improving maintainability
- All builds and checks still pass
This commit is contained in:
Celes Renata
2025-08-08 22:13:46 -07:00
parent 8011f1c842
commit 22b65891ac
7 changed files with 354 additions and 363 deletions
+28
View File
@@ -0,0 +1,28 @@
#!/usr/bin/env bash
echo "🔍 dots-hyprland Configuration Modes"
echo "===================================="
echo ""
echo "📋 Available modes:"
echo ""
echo "1. 🔒 DECLARATIVE MODE"
echo " • Files managed by Home Manager"
echo " • Read-only configuration"
echo " • Automatic updates with 'home-manager switch'"
echo " • Best for: Set-and-forget users"
echo " • Build: nix build .#homeConfigurations.declarative.activationPackage"
echo ""
echo "2. ✏️ WRITABLE MODE"
echo " • Files staged to ~/.configstaging"
echo " • User copies/modifies configuration"
echo " • Full control over files"
echo " • Best for: Customization and development"
echo " • Build: nix build .#homeConfigurations.writable.activationPackage"
echo ""
echo "🚀 Quick start:"
echo " # For declarative mode:"
echo " nix build .#homeConfigurations.declarative.activationPackage && ./result/activate"
echo ""
echo " # For writable mode:"
echo " nix build .#homeConfigurations.writable.activationPackage && ./result/activate"
echo " ~/.local/bin/initialSetup.sh"