Link: https://github.com/nix-community/stylix/pull/2041 Link: https://github.com/nix-community/stylix/pull/1976#discussion_r2539186937 Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
21 lines
406 B
Nix
21 lines
406 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" ];
|
|
}
|