feat(spotify): use Spicetify with Spotify

This commit is contained in:
2026-01-09 21:30:37 +01:00
parent a1842b22db
commit f0398f4d9c
5 changed files with 83 additions and 2 deletions

View File

@@ -15,6 +15,7 @@ in {
./obs.nix
./qt.nix
./rofi
./spotify.nix
./swaync.nix
./waybar.nix
./wlr-which-key.nix
@@ -30,6 +31,8 @@ in {
obs.enable = mkDefault cfg.fullDesktop;
qt.enable = mkDefault cfg.fullDesktop;
rofi.enable = mkDefault cfg.fullDesktop;
spotify.enable = mkDefault cfg.fullDesktop;
spotify.spicetify.enable = mkDefault cfg.fullDesktop;
wlr-which-key.enable = mkDefault cfg.fullDesktop;
};
}

View File

@@ -0,0 +1,25 @@
{
pkgs,
config,
lib,
inputs,
...
}:
with lib; let
cfg = config.home.desktop.spotify;
system = pkgs.stdenv.hostPlatform.system;
spicePkgs = inputs.spicetify.legacyPackages.${system};
in {
options.home.desktop.spotify = {
enable = mkEnableOption "Enable Spotify";
spicetify.enable = mkEnableOption "Enable Spicetify";
};
config.programs = mkIf cfg.enable {
spotify-player.enable = cfg.enable;
spicetify = mkIf cfg.spicetify.enable {
inherit (cfg.spicetify) enable;
theme = spicePkgs.themes.sleek;
colorScheme = "Nord";
};
};
}

View File

@@ -30,7 +30,6 @@ in {
plexamp
plex-desktop
spicetify-cli
spotify
pavucontrol # Volume control
# Social