2024-06-10 19:58:06 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
osConfig,
|
|
|
|
inputs,
|
|
|
|
pkgs,
|
|
|
|
...
|
|
|
|
}: let
|
|
|
|
inherit (lib) mkIf;
|
|
|
|
|
2024-06-21 09:41:29 +00:00
|
|
|
cfg = osConfig.myOptions.home-manager.programs.applications.spotify;
|
2024-06-10 19:58:06 +00:00
|
|
|
spicePkgs = inputs.spicetify.packages.${pkgs.system}.default;
|
|
|
|
in {
|
|
|
|
imports = [inputs.spicetify.homeManagerModule];
|
|
|
|
config = mkIf cfg.enable {
|
|
|
|
programs.spicetify = {
|
|
|
|
enable = true;
|
|
|
|
injectCss = true;
|
|
|
|
replaceColors = true;
|
|
|
|
|
|
|
|
overwriteAssets = true;
|
|
|
|
sidebarConfig = true;
|
|
|
|
enabledCustomApps = with spicePkgs.apps; [
|
|
|
|
lyrics-plus
|
|
|
|
new-releases
|
|
|
|
];
|
|
|
|
|
|
|
|
theme = spicePkgs.themes.catppuccin;
|
|
|
|
colorScheme = "mocha";
|
|
|
|
|
|
|
|
enabledExtensions = with spicePkgs.extensions; [
|
2024-06-24 14:45:09 +00:00
|
|
|
#adblock # I currently have premium
|
|
|
|
volumePercentage
|
2024-06-10 19:58:06 +00:00
|
|
|
fullAppDisplay
|
2024-06-24 14:45:09 +00:00
|
|
|
shuffle
|
2024-06-10 19:58:06 +00:00
|
|
|
hidePodcasts
|
|
|
|
playlistIcons
|
|
|
|
lastfm
|
|
|
|
historyShortcut
|
|
|
|
bookmark
|
|
|
|
fullAlbumDate
|
|
|
|
groupSession
|
|
|
|
popupLyrics
|
|
|
|
# TODO: genre, see: https://github.com/the-argus/spicetify-nix/issues/50
|
|
|
|
];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|