mirror of
https://github.com/nix-community/home-manager.git
synced 2025-12-02 15:11:03 +01:00
radio-active: add module to create config files
Configuration entry similar to; ```nix programs.radio-active.enable = true; ``` By default `ffplay` is used for recording/playback, but that can be changed by applying either of the following; ```nix programs.radio-active.settings.AppConfig.player = "vlc"; programs.radio-active.settings.AppConfig.player = "mpv"; ``` All other configuration options documented by; https://github.com/deep5050/radio-active?tab=readme-ov-file#default-configs maybe applied under the `AppConfig` attribute set. Finally, the `aliases` attribute set allows for defining key/value pares that will generate a `~/.radio-active-alias` of bookmarked stations, for example something like; ```nix programs.radio-active.aliases = { "Deep House Lounge" = "http://198.15.94.34:8006/stream"; }; ``` ... will result in; ``` Deep House Lounge==http://198.15.94.34:8006/stream ``` WARN: Darwin hosts may report issues about `pkgs.vlc` Co-authored-by: Robert Helgesson <robert@rycee.net>
This commit is contained in:
parent
26ace005b7
commit
1dbb3fd2f7
8 changed files with 284 additions and 0 deletions
12
modules/misc/news/2025/09/2025-09-28_06-57-30.nix
Normal file
12
modules/misc/news/2025/09/2025-09-28_06-57-30.nix
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
{
|
||||
time = "2025-09-28T06:57:30+00:00";
|
||||
condition = true;
|
||||
message = ''
|
||||
A new module is available: 'programs.radio-active'
|
||||
|
||||
`radio-active` is a TUI which enables playing of radio station streams.
|
||||
|
||||
This module allows for defining configuration file as well as favorites
|
||||
list via Nix attribute sets.
|
||||
'';
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue