Commit Graph

17 Commits

Author SHA1 Message Date
Celes Renata 467164a952 Export system-services as NixOS module 2025-12-01 01:14:18 -08:00
Celes Renata 572e2f31fd Add Qt6 Wayland dependency to quickshell 2025-11-26 18:37:38 -08:00
Celes Renata 8346398657 Fix /light and /dark commands: Add LD_LIBRARY_PATH to quickshell wrapper
- Add LD_LIBRARY_PATH to quickshell wrapper for execDetached child processes
- Ensures /light and /dark commands have proper Python environment
- Child processes spawned by Quickshell.execDetached() now inherit system libraries
- Fixes 'No module named PIL' error when using search commands
2025-08-10 17:46:11 -07:00
Celes Renata b4f32209f5 Remove duplicate LD_LIBRARY_PATH from quickshell wrapper
- Remove LD_LIBRARY_PATH from quickshell wrapper in flake.nix
- python-environment.nix already sets LD_LIBRARY_PATH in sessionVariables
- Fixes conflict between two LD_LIBRARY_PATH definitions
- Ensures proper library path inheritance for Python virtual environment
2025-08-10 17:25:14 -07:00
Celes Renata a6247666d5 Fix Qt version mismatch by making quickshell follow our nixpkgs
- Make quickshell input follow our nixpkgs to ensure Qt version consistency
- Fixes 'Cannot mix incompatible Qt library (6.9.1) with this library (6.9.0)' error
- Resolves weather widget enable crashes due to Qt version conflicts

This ensures quickshell is built with the same Qt version (6.9.1) as our other
Qt packages, preventing runtime library incompatibility issues.
2025-08-10 14:23:41 -07:00
Celes Renata 6a11660704 Add environment variables to quickshell wrapper
- Add ILLOGICAL_IMPULSE_VIRTUAL_ENV for Python virtual environment
- Add XDG_DATA_DIRS with gsettings-desktop-schemas for GNOME schemas
- Add LD_LIBRARY_PATH with all required system libraries
- This ensures Light mode selection works in quickshell settings

Fixes the issue where Light mode button was unresponsive due to missing
environment variables and library paths in the quickshell wrapper.
2025-08-10 14:14:33 -07:00
Celes Renata 866a004fd2 Fix quickshell overlay script name and add Qt positioning modules
- Change writeShellScriptBin from 'qs' to 'quickshell' to match package name
- Add QtPositioning and QtLocation to QML2_IMPORT_PATH in overlay
- This should resolve the circular reference and QtPositioning module issues
2025-08-10 12:26:06 -07:00
Celes Renata efae617d52 Add conflict handling for home-manager symlinks
- Handle conflicting symlinks for icons, konsole, and fish directories
- Backup existing directories before home-manager creates new ones
- Run conflict handling before linkGeneration phase
2025-08-10 11:47:18 -07:00
Celes Renata 5f15f5ed78 Fix quickshell wrapper using symlinkJoin
- Use symlinkJoin with wrapProgram for proper binary wrapping
- This ensures the qs binary gets the QML2_IMPORT_PATH set correctly
- Should resolve the Qt5Compat.GraphicalEffects import issue permanently
2025-08-09 23:39:33 -07:00
Celes Renata 1601f5c85f Fix quickshell Qt5Compat with proper wrapper script
- Replace complex overrideAttrs with simple wrapper script
- Directly set QML2_IMPORT_PATH to include Qt5Compat QML modules
- This ensures Qt5Compat.GraphicalEffects is always available
2025-08-09 23:36:02 -07:00
Celes Renata 9e5a394b54 Final fix for Qt5Compat QML import path
- Use QML2_IMPORT_PATH with correct path to qt5compat QML modules
- Simplified to just the essential path that works
- This resolves the Qt5Compat.GraphicalEffects import issue
2025-08-09 23:28:53 -07:00
Celes Renata 60c9d69eba Fix Qt6 QML import path for Qt5Compat
- Use NIXPKGS_QT6_QML_IMPORT_PATH which is the correct variable for Qt6
- Add QT_PLUGIN_PATH for Qt5Compat plugins
- This should properly expose Qt5Compat.GraphicalEffects to quickshell
2025-08-09 23:22:25 -07:00
Celes Renata 5b107bd118 Fix quickshell Qt5Compat dependency issue
- Add qt6.qt5compat as build input to quickshell package
- Use wrapQtAppsHook for proper Qt module wrapping
- Set up QML import paths for Qt5Compat.GraphicalEffects
- This resolves the 'module Qt5Compat.GraphicalEffects is not installed' error
2025-08-09 23:20:10 -07:00
Celes Renata 9821e69f5c Implement rich NixOS configuration system
 COMPLETE: Full NixOS-style configuration system implemented

🎯 Features:
- Rich configuration options for Quickshell, Hyprland, and Terminal
- Type-safe NixOS module options with defaults and descriptions
- Generated configuration files from Nix expressions
- Example configurations (gaming, productivity, minimalist)
- Comprehensive documentation

🔧 Configuration Modules:
- modules/components/quickshell-config.nix - Quickshell options
- modules/components/hyprland-config.nix - Hyprland options
- modules/components/terminal-config.nix - Terminal options

📝 Example Usage:
programs.dots-hyprland = {
  quickshell.bar.utilButtons.showColorPicker = true;
  hyprland.general.gapsIn = 6;
  terminal.colors.alpha = 0.90;
};

🎨 Generated Files:
- ~/.config/quickshell/ii/modules/common/Config.qml (NixOS-managed)
- ~/.config/hypr/general.conf (NixOS-managed)
- ~/.config/foot/foot.ini (NixOS-managed)

 Tested: All configurations build and activate successfully
🎉 Ready for production use with full NixOS declarative configuration!
2025-08-08 23:10:33 -07:00
Celes Renata ac6d3adeb9 Make flake self-contained - consolidate installer-replication
BREAKING CHANGE: Remove external dots-hyprland dependency

- Imported all essential configs from dots-hyprland/installer-replication
- Added complete configs/ directory with:
  - hypr/ - Hyprland configuration
  - quickshell/ - Quickshell widgets and config
  - applications/ - Application configurations
  - scripts/ - Utility scripts
  - matugen/ - Material You theming
- Updated flake.nix to use local ./configs instead of external repo
- Simplified update-flake script (removed external repo management)
- Updated README to reflect self-contained architecture
- All builds pass with local configurations

Benefits:
- No external repository dependencies
- Faster builds (no network dependencies)
- Version controlled configs in single repo
- Easier maintenance and development
- Complete installer replication in one place
2025-08-08 22:26:47 -07:00
Celes Renata 22b65891ac 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
2025-08-08 22:13:46 -07:00
Celes Renata 8011f1c842 Initial clean flake structure - Phase 3 complete 2025-08-08 22:05:41 -07:00