As far as I can tell, every program that is configurable with Home Manager has a package
attribute to refer to a specific version of an application (see the Home Manager user manual’s Appendix A. Configuration Options) but have no clue how to use it.
The problem I’m trying to solve is that fzf
is freezing the shell in tmux
when the tmux
version is above 3.01 so I would need the latest tmux
version before 3.0
programs.tmux.package
The tmux package to installType: package
Default:
pkgs.tmux
Example:
pkgs.tmux
[1]: Well, the proper solution is to run fzf-tmux
with run-shell -b
(instead of simply with run-shell
), but solving this seems to be more involved with Home Manager than to simply just downgrade tmux
for the time being. (Found a run-shell
invocation in the Home Manager repo’s tmux.nix
but it appears that this requires a PR; could be wrong.)