nyx/modules/home-manager/spotify/default.nix
2024-12-20 15:11:42 +02:00

27 lines
498 B
Nix

{
pkgs,
lib,
config,
inputs,
...
}: {
imports = [
inputs.spicetify-nix.homeManagerModules.default
];
nixpkgs.config.allowUnfreePredicate = pkg:
builtins.elem (lib.getName pkg) [
"spotify"
];
programs.spicetify = let
spicePkgs = inputs.spicetify-nix.legacyPackages.${pkgs.system};
in {
enable = true;
enabledExtensions = with spicePkgs.extensions; [
hidePodcasts
];
theme = spicePkgs.themes.comfy;
colorScheme = "Hikari";
};
}