feat: Use specitify instead of spotx
This commit is contained in:
parent
f812a13895
commit
b275b19421
11 changed files with 107 additions and 56 deletions
40
home/david/modules/programs/spotify.nix
Normal file
40
home/david/modules/programs/spotify.nix
Normal 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";
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue