dotfiles
My PC Dotfiles & Websitegit clone https://github.com/maydayv7/dotfiles
modules/apps/spotify.nix (1007B)
1## Spotify Configuration ##
2{inputs, ...}: {
3 flake.modules.homeManager.spotify = {
4 lib,
5 pkgs,
6 osConfig ? {},
7 ...
8 }: let
9 isWM = (osConfig.programs.hyprland.enable or false) || (osConfig.programs.niri.enable or false);
10 in {
11 imports = [inputs.spicetify.homeManagerModules.default];
12 home.persist.directories = [
13 ".config/spotify"
14 ".cache/spotify"
15 ];
16
17 programs.spicetify =
18 {
19 enable = true;
20
21 # Player Improvements
22 enabledCustomApps = with pkgs.spicetify.apps; [
23 betterLibrary
24 localFiles
25 newReleases
26 ];
27
28 enabledExtensions = with pkgs.spicetify.extensions; [
29 goToSong
30 history
31 loopyLoop
32 playNext
33 popupLyrics
34 seekSong
35 showQueueDuration
36 volumePercentage
37 ];
38 }
39 // lib.optionalAttrs isWM {
40 theme = pkgs.spicetify.themes.catppuccin;
41 colorScheme = "macchiato";
42 };
43 };
44}