aboutsummaryrefslogtreecommitdiff
path: root/modules/spicetify.nix
blob: 0b618ad544fec3c86238f8b30cd7215c0a7fa68e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ 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
      ];
      enabledExtensions = with spicePkgs.extensions; [
        keyboardShortcut
      ];
      theme = spicePkgs.themes.sleek;
      colorScheme = "Coral";
    };
  };
}