2023-08-28 17:18:26 +02:00
|
|
|
{ inputs, pkgs, config, lib, ... }:
|
2023-06-18 18:10:20 +02:00
|
|
|
let
|
|
|
|
spicePkgs = inputs.spicetify-nix.packages.${pkgs.system}.default;
|
2023-08-28 17:18:26 +02:00
|
|
|
themeMap = lib.fix (self: {
|
2024-01-17 08:31:33 +01:00
|
|
|
"Catppuccin Mocha" = spicePkgs.themes.Comfy;
|
|
|
|
"Catppuccin Latte" = spicePkgs.themes.Comfy;
|
|
|
|
"Catppuccin Frappe" = spicePkgs.themes.Comfy;
|
|
|
|
"Catppuccin Macchiato" = spicePkgs.themes.Comfy;
|
2023-12-10 12:55:54 +01:00
|
|
|
|
|
|
|
default.light = self."Catppuccin Latte";
|
|
|
|
default.dark = self."Catppuccin Macchiato";
|
|
|
|
});
|
|
|
|
|
|
|
|
colorschemeMap = lib.fix (self: {
|
2024-03-07 02:47:37 +01:00
|
|
|
"Catppuccin Mocha" = "catppuccin-mocha";
|
|
|
|
"Catppuccin Latte" = "catppuccin-latte";
|
|
|
|
"Catppuccin Frappe" = "catppuccin-frappe";
|
|
|
|
"Catppuccin Macchiato" = "catppuccin-macchiato";
|
2023-07-06 21:34:24 +02:00
|
|
|
|
2023-08-28 17:18:26 +02:00
|
|
|
default.light = self."Catppuccin Latte";
|
|
|
|
default.dark = self."Catppuccin Macchiato";
|
|
|
|
});
|
2023-06-18 18:10:20 +02:00
|
|
|
in
|
|
|
|
{
|
2024-02-29 12:44:52 +01:00
|
|
|
imports = [ ./audio.nix ];
|
2024-05-01 04:35:50 +02:00
|
|
|
home.packages = [ pkgs.spot ];
|
2024-02-29 12:44:52 +01:00
|
|
|
|
2023-06-18 18:10:20 +02:00
|
|
|
programs.spicetify = {
|
|
|
|
enable = true;
|
2023-07-06 21:34:24 +02:00
|
|
|
|
2023-08-14 13:49:55 +02:00
|
|
|
theme = config.satellite.theming.get themeMap;
|
2023-12-10 12:55:54 +01:00
|
|
|
colorScheme = config.satellite.theming.get colorschemeMap;
|
2023-07-06 21:34:24 +02:00
|
|
|
|
2023-06-18 18:10:20 +02:00
|
|
|
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
|
2024-01-17 08:31:33 +01:00
|
|
|
# REASON: broken
|
|
|
|
# https://github.com/the-argus/spicetify-nix/issues/50
|
|
|
|
# genre
|
2023-06-18 18:10:20 +02:00
|
|
|
adblock
|
|
|
|
savePlaylists # Adds a button to duplicate playlists
|
|
|
|
];
|
|
|
|
};
|
|
|
|
|
2024-01-15 06:52:03 +01:00
|
|
|
# {{{ Persistence
|
|
|
|
satellite.persistence.at.state.apps.spotify.directories = [
|
|
|
|
"${config.xdg.configHome}/spotify"
|
|
|
|
];
|
|
|
|
|
|
|
|
satellite.persistence.at.cache.apps.spotify.directories = [
|
|
|
|
"${config.xdg.cacheHome}/spotify"
|
|
|
|
];
|
|
|
|
# }}}
|
2023-06-18 18:10:20 +02:00
|
|
|
}
|