summaryrefslogtreecommitdiff
path: root/hm/soft/spicetify.nix
blob: f9a4d0cab4991fb64576a7bd934a0aa96612a689 (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
25
26
27
28
29
{
  inputs,
  pkgs,
  config,
  lib,
  ...
}:
let
  cfg = config.hm.soft.spicetify;
  spicePkgs = inputs.spicetify-nix.legacyPackages.${pkgs.stdenv.hostPlatform.system};
in
{
  imports = [ inputs.spicetify-nix.homeManagerModules.default ];

  options.hm.soft.spicetify.enable = lib.mkEnableOption "spicetify config";
  config = lib.mkIf cfg.enable {
    programs.spicetify = {
      enable = true;

      enabledExtensions = with spicePkgs.extensions; [
        adblockify
        hidePodcasts
      ];

      theme = spicePkgs.themes.catppuccin;
      colorScheme = "mocha";
    };
  };
}