Remove gpmusic
This commit is contained in:
parent
eeac893163
commit
a76e1a5ff3
@ -40,6 +40,8 @@ in {
|
||||
|
||||
yt-utilities = inputs.yt-utilities.defaultPackage.x86_64-linux;
|
||||
|
||||
# mopidy-youtube = super.mopidy-youtube.overrideAttrs (_: { src = inputs.mopidy-youtube; });
|
||||
|
||||
nerdfonts = nur.balsoft.pkgs.roboto-mono-nerd;
|
||||
|
||||
# inherit (inputs.nixpkgs-mesa.legacyPackages.x86_64-linux) sway mesa_drivers;
|
||||
|
@ -54,12 +54,6 @@ in rec {
|
||||
description = "Mail server";
|
||||
};
|
||||
};
|
||||
gpmusic = mkCredOption "Google Play Music (mopidy)" {
|
||||
deviceid = mkOption {
|
||||
type = str;
|
||||
description = "Android device ID";
|
||||
};
|
||||
};
|
||||
openvpn = mkCredOption "openvpn" { };
|
||||
rclone = mkOption {
|
||||
type = nullOr str;
|
||||
|
@ -2,15 +2,10 @@
|
||||
{
|
||||
services.mopidy = {
|
||||
enable = true;
|
||||
extensionPackages = with pkgs; [ mopidy-mpd mopidy-gmusic mopidy-youtube ];
|
||||
configuration = (if (!isNull config.secrets.gpmusic) then ''
|
||||
[gmusic]
|
||||
username = ${config.secrets.gpmusic.user}
|
||||
refresh_token = ${config.secrets.gpmusic.password}
|
||||
deviceid = ${config.secrets.gpmusic.deviceid}
|
||||
bitrate = 128
|
||||
'' else
|
||||
"") + ''
|
||||
extensionPackages = with pkgs; [ mopidy-mpd mopidy-youtube ];
|
||||
configuration = ''
|
||||
[youtube]
|
||||
enabled = true
|
||||
[mpd]
|
||||
hostname = 0.0.0.0
|
||||
port = 6600
|
||||
|
BIN
secret.nix
BIN
secret.nix
Binary file not shown.
Loading…
Reference in New Issue
Block a user