diff options
author | sefidel <contact@sefidel.net> | 2022-01-07 17:47:17 +0900 |
---|---|---|
committer | sefidel <contact@sefidel.net> | 2022-01-07 17:47:27 +0900 |
commit | 2daa3dcd4321c00e69549cafdf12685d36dc7259 (patch) | |
tree | ea41dcf6da44de6db42e39da01b4ebc83a398c23 /home/modules/profiles | |
parent | 270a5bfbe8a23f2d800da18c174fc7c61683f5d8 (diff) | |
download | nixrc-2daa3dcd4321c00e69549cafdf12685d36dc7259.tar.gz nixrc-2daa3dcd4321c00e69549cafdf12685d36dc7259.zip |
home/multimedia: use stock spotify client
Diffstat (limited to 'home/modules/profiles')
-rw-r--r-- | home/modules/profiles/multimedia/default.nix | 58 |
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" ]; }; } |