mirror of
https://github.com/kmein/niveum
synced 2026-03-23 13:21:06 +01:00
mopidy, mail, telegram
This commit is contained in:
28
configs/mopidy.nix
Normal file
28
configs/mopidy.nix
Normal 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}
|
||||
'';
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user