mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2025-12-06 00:57:22 +01:00
22 lines
581 B
Nix
22 lines
581 B
Nix
{ inputs, lib, config, pkgs, ... }:
|
|
let
|
|
moduleName = "spicetify";
|
|
spicePkgs = inputs.spicetify-nix.legacyPackages.${pkgs.stdenv.system};
|
|
in
|
|
{
|
|
options.swarselmodules.${moduleName} = lib.mkEnableOption "${moduleName} settings";
|
|
config = lib.mkIf config.swarselmodules.${moduleName} {
|
|
programs.spicetify = {
|
|
enable = true;
|
|
spotifyPackage = pkgs.stable24_11.spotify;
|
|
enabledExtensions = with spicePkgs.extensions; [
|
|
fullAppDisplay
|
|
shuffle
|
|
hidePodcasts
|
|
fullAlbumDate
|
|
skipStats
|
|
history
|
|
];
|
|
};
|
|
};
|
|
}
|