mirror of
https://github.com/nix-community/home-manager.git
synced 2025-12-04 08:01:02 +01:00
pianobar: add module to create config file (#7734)
Configuration entry similar to;
```nix
programs.pianobar = {
enable = true;
user = "groovy-tunes@example.com";
password_command = "cat /run/secrets/pianobar/groovy-tunes";
};
```
... will produce a `~/.config/pianobar/config` file with content of;
```conf
user = groovy-tunes@example.com
password_command = cat /run/secrets/pianobar/groovy-tunes
```
... and add `pianobar` to `home.packages` list.
All configurations that `man pianobar` documents _should_ available via
`extraOptions` attribute.
License, according to `NixOS/nixpkgs` is MIT, and that seems to match
what's shown on `PromyLOPh/pianobar` repo too;
- d92bfd5feb/pkgs/by-name/pi/pianobar/package.nix (L42o)
- https://github.com/PromyLOPh/pianobar/?tab=License-1-ov-file#readme
This commit is contained in:
parent
ede1f891c0
commit
a60021a8c9
7 changed files with 204 additions and 0 deletions
11
modules/misc/news/2025/09/2025-09-06_10-04-11.nix
Normal file
11
modules/misc/news/2025/09/2025-09-06_10-04-11.nix
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
time = "2025-09-06T17:04:11+00:00";
|
||||
condition = true;
|
||||
message = ''
|
||||
A new module is available: 'programs.pianobar'.
|
||||
|
||||
`pianobar` is a console front-end for Pandora.com and provides options to
|
||||
extend with third-party applications or scripts. This module enables
|
||||
declarative configuration of all documented options.
|
||||
'';
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue