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