home: tmux: add hyperlinks support

Somewhat unfortunate that those have to be enabled by force, but easy
enough to support.
This commit is contained in:
Bruno BELANYI 2024-03-07 15:44:17 +00:00
parent 742b4c39a2
commit 22139bd69f
1 changed files with 4 additions and 0 deletions

View File

@ -23,6 +23,8 @@ in
terminalFeatures = mkOption {
type = with types; attrsOf (submodule {
options = {
hyperlinks = my.mkDisableOption "hyperlinks through OSC8";
trueColor = my.mkDisableOption "24-bit (RGB) color support";
};
});
@ -101,6 +103,8 @@ in
''
}
# Force OSC8 hyperlinks for each relevant $TERM
${mkTerminalFlags "hyperlinks" "hyperlinks"}
# Force 24-bit color for each relevant $TERM
${mkTerminalFlags "trueColor" "RGB"}
'';