Auto-commit: 2026-01-05 16:07:02

This commit is contained in:
2026-01-05 16:07:02 +00:00
parent c621e40ae9
commit cf3b18b362

View File

@@ -1,33 +1,38 @@
{ inputs, pkgs, ... }: { inputs, pkgs, config, lib, ... }:
let
cfg = config.my.desktop.spicetify;
in
{ {
imports = [ imports = [
inputs.spicetify-nix.homeManagerModules.default inputs.spicetify-nix.homeManagerModules.default
]; ];
programs.spicetify = config = lib.mkIf cfg.enable {
let programs.spicetify =
spicePkgs = inputs.spicetify-nix.legacyPackages.${pkgs.stdenv.hostPlatform.system}; let
in spicePkgs = inputs.spicetify-nix.legacyPackages.${pkgs.stdenv.hostPlatform.system};
{ in
enable = true; {
enable = true;
enabledExtensions = with spicePkgs.extensions; [ enabledExtensions = with spicePkgs.extensions; [
hidePodcasts hidePodcasts
shuffle # shuffle+ (special characters are sanitized out of extension names) shuffle # shuffle+ (special characters are sanitized out of extension names)
betterGenres betterGenres
lastfm lastfm
adblock adblock
beautifulLyrics beautifulLyrics
aiBandBlocker aiBandBlocker
]; ];
enabledCustomApps = with spicePkgs.apps; [ enabledCustomApps = with spicePkgs.apps; [
lyricsPlus lyricsPlus
betterLibrary betterLibrary
newReleases newReleases
]; ];
enabledSnippets = with spicePkgs.snippets; [ enabledSnippets = with spicePkgs.snippets; [
pointer pointer
]; ];
theme = spicePkgs.themes.catppuccin; theme = spicePkgs.themes.catppuccin;
colorScheme = "mocha"; colorScheme = "mocha";
};
}; };
} }