2023-01-23 22:18:27 +07:00
|
|
|
{ config, inputs, pkgs, ... }:
|
|
|
|
|
let
|
|
|
|
|
spicePkgs = inputs.spicetify-nix.packages.${pkgs.system}.default;
|
|
|
|
|
#adblock = inputs.spotify-adblock.defaultPackage.x86_64-linux;
|
|
|
|
|
adblock = pkgs.me.spotify-adblock;
|
|
|
|
|
in
|
|
|
|
|
{
|
|
|
|
|
imports = [ inputs.spicetify-nix.homeManagerModule ];
|
|
|
|
|
|
|
|
|
|
programs.spicetify = {
|
|
|
|
|
spotifyPackage = pkgs.spotify-unwrapped.overrideAttrs(o: {
|
2023-01-23 23:58:21 +07:00
|
|
|
installPhase = pkgs.lib.replaceStrings ["--prefix PATH"] [
|
|
|
|
|
''--prefix SPOTIFY_ADBLOCK_CONFIG : ${adblock}/lib/config.toml \
|
2023-01-23 22:18:27 +07:00
|
|
|
--prefix LD_PRELOAD : ${adblock}/lib/libspotifyadblock.so \
|
|
|
|
|
--prefix PATH''] o.installPhase;
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
enable = true;
|
2023-06-19 21:59:07 +07:00
|
|
|
theme = spicePkgs.themes.Dribbblish // {
|
2023-06-22 23:34:14 +07:00
|
|
|
#src = inputs.spicetify-themes;
|
|
|
|
|
extraCommands = "spicetify-cli --no-restart config experimental_features 1";
|
|
|
|
|
#requiredExtensions = [((builtins.head spicePkgs.themes.Dribbblish.requiredExtensions) // { filename = "theme.js"; }) ];
|
2023-06-19 21:59:07 +07:00
|
|
|
};
|
2023-01-23 22:18:27 +07:00
|
|
|
colorScheme = "purple";
|
|
|
|
|
|
2023-04-06 20:10:41 +07:00
|
|
|
enabledCustomApps = with spicePkgs.apps; [
|
|
|
|
|
lyrics-plus
|
|
|
|
|
];
|
2023-01-23 22:18:27 +07:00
|
|
|
enabledExtensions = with spicePkgs.extensions; [
|
2023-06-22 23:34:14 +07:00
|
|
|
fullAppDisplayMod
|
2023-01-23 22:18:27 +07:00
|
|
|
shuffle # shuffle+ (special characters are sanitized out of ext names)
|
|
|
|
|
hidePodcasts
|
2023-04-06 20:10:41 +07:00
|
|
|
|
|
|
|
|
skipStats
|
|
|
|
|
songStats
|
|
|
|
|
history
|
|
|
|
|
volumePercentage
|
2023-01-23 22:18:27 +07:00
|
|
|
];
|
|
|
|
|
};
|
|
|
|
|
}
|