programs.television.channels
Home-Manager option
Each set of channels are written to $XDG_CONFIG_HOME/television/cable/NAME.toml See https://alexpasmantier.github.io/television/docs/Users/channels for options
type: attribute set of (TOML value)Default
{ }Example
declared in: <home-manager/modules/programs/television.nix>source unavailable{ git-diff = { metadata = { description = "A channel to select files from git diff commands"; name = "git-diff"; requirements = [ "git" ]; }; preview = { command = "git diff HEAD --color=always -- '{}'"; }; source = { command = "git diff --name-only HEAD"; }; }; git-log = { metadata = { description = "A channel to select from git log entries"; name = "git-log"; requirements = [ "git" ]; }; preview = { command = "git show -p --stat --pretty=fuller --color=always '{0}'"; }; source = { command = "git log --oneline --date=short --pretty=\"format:%h %s %an %cd\" \"$@\""; output = "{split: :0}"; }; }; }