39 lines
1.2 KiB
Nix
39 lines
1.2 KiB
Nix
|
{ inputs, pkgs, config, ... }:
|
||
|
let
|
||
|
spicePkgs = inputs.spicetify-nix.packages.${pkgs.system}.default;
|
||
|
themeMap = {
|
||
|
"Catppuccin Mocha" = spicePkgs.themes.catppuccin-mocha;
|
||
|
"Catppuccin Latte" = spicePkgs.themes.catppuccin-latte;
|
||
|
"Catppuccin Frappe" = spicePkgs.themes.catppuccin-frappe;
|
||
|
"Catppuccin Macchiato" = spicePkgs.themes.catppuccin-macchiato;
|
||
|
# TODO: add rosepine themes here
|
||
|
default = spicePkgs.themes.catppuccin-mocha;
|
||
|
};
|
||
|
in
|
||
|
{
|
||
|
programs.spicetify = {
|
||
|
enable = true;
|
||
|
theme = themeMap.${config.lib.stylix.scheme.scheme} or themeMap.default;
|
||
|
enabledExtensions = with spicePkgs.extensions; [
|
||
|
fullAppDisplayMod
|
||
|
shuffle # Working shuffle
|
||
|
keyboardShortcut
|
||
|
skipStats # Track my skips
|
||
|
listPlaylistsWithSong # Adds button to show playlists which contain a song
|
||
|
playlistIntersection # Shows stuff that's in two different playlists
|
||
|
fullAlbumDate
|
||
|
bookmark
|
||
|
trashbin
|
||
|
groupSession
|
||
|
wikify # Shows an artist's wikipedia entry
|
||
|
songStats
|
||
|
showQueueDuration
|
||
|
genre
|
||
|
adblock
|
||
|
savePlaylists # Adds a button to duplicate playlists
|
||
|
];
|
||
|
};
|
||
|
|
||
|
# TODO: persistence
|
||
|
}
|