Link: https://github.com/nix-community/stylix/pull/1625 Reviewed-by: awwpotato <awwpotato@voidq.com> Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
24 lines
420 B
Nix
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"
|
|
];
|
|
}
|