1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-11-08 11:36:05 +01:00
home-manager/tests/modules/programs/pianobar
S0AndS0 a60021a8c9
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
2025-09-09 22:43:46 -05:00
..
default.nix pianobar: add module to create config file (#7734) 2025-09-09 22:43:46 -05:00
extra-settings.conf pianobar: add module to create config file (#7734) 2025-09-09 22:43:46 -05:00
extra-settings.nix pianobar: add module to create config file (#7734) 2025-09-09 22:43:46 -05:00
minimally-required-configs.conf pianobar: add module to create config file (#7734) 2025-09-09 22:43:46 -05:00
minimally-required-configs.nix pianobar: add module to create config file (#7734) 2025-09-09 22:43:46 -05:00