feat: Use specitify instead of spotx

This commit is contained in:
ulic-youthlic 2026-02-21 14:43:08 +08:00
parent f812a13895
commit b275b19421
Signed by: youthlic
GPG key ID: 63E86C3C14A0D721
11 changed files with 107 additions and 56 deletions

View file

@ -0,0 +1,40 @@
{
config,
lib,
inputs,
pkgs,
...
}: let
cfg = config.david.programs.spotify;
spicePkgs = inputs.spicetify-nix.legacyPackages.${pkgs.stdenv.hostPlatform.system};
in {
options = {
david.programs.spotify = {
enable = lib.mkEnableOption "spotify";
};
};
config = lib.mkIf cfg.enable {
stylix.targets.spicetify.enable = false;
programs.spicetify = {
enable = true;
wayland = true;
windowManagerPatch = true;
enabledExtensions = with spicePkgs.extensions; [
sort-play
allOfArtist
sleepTimer
coverAmbience
beautifulLyrics
sectionMarker
playingSource
adblock
history
copyToClipboard
songStats
playNext
];
theme = spicePkgs.themes.catppuccin;
colorScheme = "mocha";
};
};
}