Commits
- Extract package autoimport logic into 5pkgs/flake-module.nix
- Support both package.nix (preferred) and default.nix
- Show deprecation warning when using default.nix
- Replace symlinkJoin with custom multiOutputSymlinkJoin that correctly handles multi-output packages
- Preserve man pages, docs, and other outputs by symlinking from original package outputs
- Fix zsh build while maintaining access to man pages via .man output
- All wrapper tools (mpv, mutt, zsh) now build successfully with full output preservation
- Add passthru parameter to makeWrapper for custom attributes
- Convert mutt to use passthru instead of manual attribute merging
- This simplifies the code and makes wrapper configuration cleaner
Replace writeShellApplication with makeWrapper:
- Set NOTMUCH_CONFIG environment variable directly
- Pass muttrc via -F flag
- Remove obsolete mutt.sh script
Replace writeShellApplication with makeWrapper using flagSeparator="="
to generate the --flag=value format that mpv requires
Add flagSeparator parameter to control flag format:
- " " for "--flag value" (default, backward compatible)
- "=" for "--flag=value" format
Use Claude CLI's native mcp add command instead of desktop config file.
This ensures MCP servers are properly registered and store paths stay current.
- Add preHook parameter for running commands before exec
- Update pass tool to use preHook for GPG key import instead of custom wrapper
- Add preHook to passthru for inspection
- Update documentation with preHook examples
- Add flags parameter to makeWrapper for command-line arguments
- Change wrapper parameter to always be a function receiving { exePath, flagsString, envString, env, flags }
- Remove automatic "--" prefix handling for flags (users specify full flag names)
- Improve formatting with proper line breaks and indentation for multi-line commands
- Add passthru for env and flags to make them accessible
- Update tools to use new function-based wrapper syntax:
- tmux: uses flags directly with -f for config file
- pass: uses custom wrapper function for GPG key import
- muchsync: uses custom wrapper function with host detection logic
Add tmux-mcp package for integrating tmux with Claude Code MCP.
Provides tools for listing sessions, capturing panes, and executing commands.
Add sync-mailbox commands to ensure proper synchronization when running muchsync via the \Cr keybinding.
- Add self to function arguments in 2configs/desktops/lib/x11.nix
- Fixes evaluation error for machines using xmonad desktop
- Move clan and stockholm configuration from flake.nix to 2configs/default.nix
- Simplify flake.nix machines definition to only import physical.nix
- Add explicit import of ../../2configs to each machine's config.nix
- This allows for more selective configuration imports per machine
- Update mutt to use muchsync tool via self.packages with -vv flags
- Fix muchsync wrapper to handle flags properly when auto-detecting hosts
- Now supports: muchsync -vv (auto-detects host) or muchsync -vv hostname
- Remove 2configs/mpv.nix and replace imports with tools.mpv package
- Update desktop configurations to use self.packages.${pkgs.system}.mpv
- Simplify home-media.nix by removing unused mpv import
Create mpv tool based on 2configs/mpv.nix configuration with:
- Custom mpv configuration and input bindings
- mpv scripts (sponsorblock, quality-menu, vr-reversal, visualizer)
- Separate mpv-dl-subs package that loads on-demand when pressing 'S'
- YouTube resolution limit and sponsorblock configuration
- Replace symlinkJoin with custom multiOutputSymlinkJoin that correctly handles multi-output packages
- Preserve man pages, docs, and other outputs by symlinking from original package outputs
- Fix zsh build while maintaining access to man pages via .man output
- All wrapper tools (mpv, mutt, zsh) now build successfully with full output preservation
- Add flags parameter to makeWrapper for command-line arguments
- Change wrapper parameter to always be a function receiving { exePath, flagsString, envString, env, flags }
- Remove automatic "--" prefix handling for flags (users specify full flag names)
- Improve formatting with proper line breaks and indentation for multi-line commands
- Add passthru for env and flags to make them accessible
- Update tools to use new function-based wrapper syntax:
- tmux: uses flags directly with -f for config file
- pass: uses custom wrapper function for GPG key import
- muchsync: uses custom wrapper function with host detection logic