1
0
mirror of https://github.com/kmein/niveum synced 2026-03-23 13:21:06 +01:00

mopidy, mail, telegram

This commit is contained in:
Kierán Meinhardt
2019-04-20 09:08:39 +02:00
parent 7d6dbc2809
commit 8e55e595c4
15 changed files with 232 additions and 125 deletions

28
configs/mopidy.nix Normal file
View File

@@ -0,0 +1,28 @@
{ pkgs, ... }:
let secrets = import <dot/secrets.nix>;
in {
services.mopidy = {
enable = true;
extensionPackages = [
pkgs.mopidy-spotify
pkgs.mopidy-iris
pkgs.mopidy-gmusic
pkgs.mopidy-moped
pkgs.mopidy-soundcloud
pkgs.mopidy-youtube
];
configuration = ''
[mpd]
hostname = ::
[spotify]
username = ${secrets.spotify.username}
password = ${secrets.spotify.password}
client_id = ${secrets.spotify.clientId}
client_secret = ${secrets.spotify.clientSecret}
[soundcloud]
auth_token = ${secrets.soundcloud.authToken}
'';
};
}