25 lines
392 B
Nix
25 lines
392 B
Nix
|
{ pkgs, ... }:
|
||
|
|
||
|
{
|
||
|
environment.systemPackages = with pkgs; [
|
||
|
mpdevil
|
||
|
mopidy mopidy-mpd mopidy-funkwhale
|
||
|
];
|
||
|
|
||
|
# TODO
|
||
|
services.mopidy = {
|
||
|
enable = true;
|
||
|
configuration = ''
|
||
|
[funkwhale]
|
||
|
enabled = true
|
||
|
url = https://audio.polynom.me
|
||
|
client_id =
|
||
|
client_secret =
|
||
|
cache_duration = 600
|
||
|
'';
|
||
|
extensionPackages = with pkgs; [
|
||
|
mopidy-mpd mopidy-funkwhale
|
||
|
];
|
||
|
};
|
||
|
}
|