aboutsummaryrefslogtreecommitdiff
path: root/modules/home-manager/spicetify.nix
blob: d961779d024312a1c7f06a6dded1ce6d8cf70647 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{ config, lib, pkgs, inputs, ... }:
let
  cfg = config.spicetify;
  spicePkgs = inputs.spicetify-nix.legacyPackages.${pkgs.stdenv.system};
in {
  options.spicetify.enable = lib.mkEnableOption "Enable Spicetify integration";
  config = lib.mkIf cfg.enable {
    programs.spicetify = {
      enable = true;
      enabledSnippets = with spicePkgs.snippets; [
        pointer
        sonicDancing
        modernScrollbar
        nyanCatProgressBar
        declutterNowPlayingBar
      ];
      theme = spicePkgs.themes.sleek;
      colorScheme = "coral";
    };
  };
}