From 2daa3dcd4321c00e69549cafdf12685d36dc7259 Mon Sep 17 00:00:00 2001 From: sefidel Date: Fri, 7 Jan 2022 17:47:17 +0900 Subject: home/multimedia: use stock spotify client --- home/modules/profiles/multimedia/default.nix | 58 ++++++++++++++-------------- 1 file changed, 30 insertions(+), 28 deletions(-) (limited to 'home/modules/profiles/multimedia') diff --git a/home/modules/profiles/multimedia/default.nix b/home/modules/profiles/multimedia/default.nix index 4f48d00..47cc1a9 100644 --- a/home/modules/profiles/multimedia/default.nix +++ b/home/modules/profiles/multimedia/default.nix @@ -8,35 +8,37 @@ in }; config = lib.mkIf cfg.enable { - home.packages = with pkgs; [ spotify-tui playerctl ]; + home.packages = with pkgs; [ spotify playerctl ]; - services.spotifyd = { - enable = true; + # services.spotifyd = { + # enable = true; + # + # package = (pkgs.spotifyd.override { withMpris = true; }); + # + # settings = { + # global = { + # username = "9nko3f7puya1e5bbo9c5ifddy"; + # password_cmd = "${pkgs.pass}/bin/pass www/spotify.com | head -n1"; + # }; + # }; + # }; + # + # programs.spotify-tui = { + # enable = true; + # + # settings = { + # theme = { + # active = "Cyan"; + # banner = "LightCyan"; + # }; + # + # behavior = { + # seek_milliseconds = 5000; + # volume_increment = 10; + # }; + # }; + # }; - package = (pkgs.spotifyd.override { withMpris = true; }); - - settings = { - global = { - username = "9nko3f7puya1e5bbo9c5ifddy"; - password_cmd = "${pkgs.pass}/bin/pass www/spotify.com | head -n1"; - }; - }; - }; - - programs.spotify-tui = { - enable = true; - - settings = { - theme = { - active = "Cyan"; - banner = "LightCyan"; - }; - - behavior = { - seek_milliseconds = 5000; - volume_increment = 10; - }; - }; - }; + nixpkgs.allowedUnfree = [ "spotify" "spotify-unwrapped" ]; }; } -- cgit 1.4.1