radio-cli: add module (#7488)
This commit is contained in:
parent
50adf43449
commit
2d55a52963
4 changed files with 85 additions and 0 deletions
22
tests/modules/programs/radio-cli/example-config.nix
Normal file
22
tests/modules/programs/radio-cli/example-config.nix
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
{
|
||||
programs.radio-cli = {
|
||||
enable = true;
|
||||
settings = {
|
||||
config_version = "2.3.0";
|
||||
max_lines = 7;
|
||||
country = "ES";
|
||||
data = [
|
||||
{
|
||||
station = "lofi";
|
||||
url = "https://www.youtube.com/live/jfKfPfyJRdk?si=WDl-XdfuhxBfe6XN";
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
nmt.script = ''
|
||||
assertFileExists home-files/.config/radio-cli/config.json
|
||||
assertFileContent home-files/.config/radio-cli/config.json \
|
||||
${./config.json}
|
||||
'';
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue