flakes/modules/user/spicetify.nix

48 lines
1.4 KiB
Nix
Raw Normal View History

2023-01-23 22:18:27 +07:00
{ config, inputs, pkgs, ... }:
let
spicePkgs = inputs.spicetify-nix.legacyPackages.${pkgs.system};
colours = builtins.mapAttrs (_: colour: builtins.replaceStrings ["#"] [""] colour) config.catppuccin.hexcolors;
accentColour = colours.${config.catppuccin.accent};
2023-01-23 22:18:27 +07:00
in
{
imports = [ inputs.spicetify-nix.homeManagerModules.spicetify ];
2023-01-23 22:18:27 +07:00
programs.spicetify = {
enable = true;
2025-03-17 13:13:05 +11:00
alwaysEnableDevTools = true;
theme = spicePkgs.themes.dribbblish;
customColorScheme = {
text = colours.text;
subtext = colours.subtext1;
sidebar-text = colours.text;
main = colours.base;
sidebar = colours.mantle;
player = colours.base;
card = colours.base;
shadow = colours.mantle;
selected-row = colours.overlay2;
button = colours.overlay1;
button-active = colours.overlay2;
button-disabled = colours.overlay0;
tab-active = colours.surface0;
notification = colours.surface0;
notification-error = colours.red;
misc = colours.surface1;
2023-06-19 21:59:07 +07:00
};
2023-01-23 22:18:27 +07:00
2023-04-06 20:10:41 +07:00
enabledCustomApps = with spicePkgs.apps; [
lyricsPlus
2023-04-06 20:10:41 +07:00
];
2023-01-23 22:18:27 +07:00
enabledExtensions = with spicePkgs.extensions; [
fullAppDisplay
shuffle
2023-01-23 22:18:27 +07:00
hidePodcasts
2023-04-06 20:10:41 +07:00
skipStats
songStats
history
volumePercentage
2023-01-23 22:18:27 +07:00
];
};
}