nyx/modules/home-manager/spotify/default.nix
2024-09-02 12:05:00 +03:00

24 lines
No EOL
502 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";
};
}