{ lib, osConfig, inputs, self', pkgs, ... }: let inherit (lib) mkIf; inherit (osConfig) modules; sys = modules.system; prg = sys.programs; spicePkgs = inputs.spicetify.packages.${pkgs.system}.default; in { imports = [inputs.spicetify.homeManagerModule]; config = mkIf prg.spotify.enable { programs.spicetify = { spotifyPackage = self'.packages.spotify-wrapped; 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; [ fullAppDisplay shuffle # shuffle+ (special characters are sanitized out of ext names) hidePodcasts playlistIcons lastfm genre historyShortcut bookmark fullAlbumDate groupSession popupLyrics ]; }; }; }