about summary refs log tree commit diff
path: root/home/modules/profiles/multimedia
diff options
context:
space:
mode:
Diffstat (limited to 'home/modules/profiles/multimedia')
-rw-r--r--home/modules/profiles/multimedia/default.nix58
1 files changed, 30 insertions, 28 deletions
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" ];
   };
 }