35 lines
711 B
Nix
35 lines
711 B
Nix
{
|
|
lib,
|
|
config,
|
|
inputs,
|
|
pkgs,
|
|
...
|
|
}:
|
|
let
|
|
cfg = config.krop.hm.programs.spicetify;
|
|
spicePkgs = inputs.spicetify-nix.legacyPackages.${pkgs.stdenv.system};
|
|
in
|
|
{
|
|
options.krop.hm.programs.spicetify = {
|
|
enable = lib.mkOption {
|
|
type = lib.types.bool;
|
|
default = true;
|
|
example = false;
|
|
description = "Enable my spicetify configuration";
|
|
};
|
|
};
|
|
config = lib.mkIf cfg.enable {
|
|
programs.spicetify = {
|
|
enable = true;
|
|
theme = spicePkgs.themes.sleek;
|
|
colorScheme = "Coral";
|
|
enabledExtensions = with spicePkgs.extensions; [
|
|
shuffle
|
|
volumePercentage
|
|
hidePodcasts
|
|
bookmark
|
|
fullAppDisplay
|
|
];
|
|
};
|
|
};
|
|
}
|