{ inputs, pkgs, config, lib, ... }: let cfg = config.szpont.hm.soft.spicetify; spicePkgs = inputs.spicetify-nix.legacyPackages.${pkgs.stdenv.hostPlatform.system}; in { imports = [ inputs.spicetify-nix.homeManagerModules.default ]; options.szpont.hm.soft.spicetify.enable = lib.mkEnableOption "spicetify config"; config = lib.mkIf cfg.enable { programs.spicetify = { enable = true; enabledExtensions = with spicePkgs.extensions; [ adblockify hidePodcasts ]; theme = spicePkgs.themes.catppuccin; colorScheme = "mocha"; }; }; }