11.stylix/modules/spicetify/testbeds/spicetify.nix
Flameopathic 7f7472cc90
spicetify: add testbed (#1625)
Link: https://github.com/nix-community/stylix/pull/1625

Reviewed-by: awwpotato <awwpotato@voidq.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-07-14 22:41:24 +02:00

24 lines
420 B
Nix

{
lib,
pkgs,
config,
...
}:
{
stylix.testbed = {
# Spotify is not available on arm64.
enable = lib.meta.availableOn pkgs.stdenv.hostPlatform pkgs.spotify;
ui.command = {
text = lib.getExe config.programs.spicetify.spicedSpotify;
};
};
programs.spicetify.enable = true;
nixpkgs.config.allowUnfreePredicate =
pkg:
builtins.elem (lib.getName pkg) [
"spotify"
];
}