nixos-config/home-manager/stvnliu/spicetify.nix
Zhongheng Liu 7d88765f5d
feat(home-manager): service defs and fmt
fmt: reformatted using nixpkgs-fmt prettifier
mpd: created configuration
hypr: add window rules
commons: add usingMusicPlayerDaemon variable
2025-01-08 14:12:29 +02:00

29 lines
667 B
Nix

{ pkgs
, lib
, inputs
, ...
}:
let
spicePkgs = inputs.spicetify-nix.legacyPackages.${pkgs.system};
in
{
# allow spotify to be installed if you don't have unfree enabled already
nixpkgs.config.allowUnfreePredicate = pkg:
builtins.elem (lib.getName pkg) [
"spotify"
];
programs.spicetify = {
enable = true;
#theme = spicePkgs.themes.onepunch;
#colorScheme = "Dark";
enabledCustomApps = with spicePkgs.apps; [
lyricsPlus
];
enabledExtensions = with spicePkgs.extensions; [
adblock
fullAppDisplay
shuffle # shuffle+ (special characters are sanitized out of ext names)
hidePodcasts
];
};
}