Auto-commit: 2026-01-05 21:04:10

This commit is contained in:
2026-01-05 21:04:10 +00:00
parent aaebadeda5
commit bfffad16e6

View File

@@ -1,37 +1,38 @@
{ inputs, pkgs, nixosConfig, lib, ... }: # { inputs, pkgs, nixosConfig, lib, ... }:
let # let
cfg = nixosConfig.my.desktop.spicetify; # cfg = nixosConfig.my.desktop.spicetify;
in # in
{ # {
imports = [ # imports = [
inputs.spicetify-nix.homeManagerModules.default # inputs.spicetify-nix.homeManagerModules.default
]; # ];
config = lib.mkIf cfg.enable { # config = lib.mkIf cfg.enable {
programs.spicetify = # programs.spicetify =
let # let
spicePkgs = inputs.spicetify-nix.legacyPackages.${pkgs.stdenv.hostPlatform.system}; # spicePkgs = inputs.spicetify-nix.legacyPackages.${pkgs.stdenv.hostPlatform.system};
in # 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; [
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";
}; # };
}; # };
} # }
{}