Gerg-L / spicetify-nix

A nix flake for configuring spicetify. Includes packaging for many popular themes and extensions.
GNU General Public License v3.0
160 stars 12 forks source link

Spicetify-Nix

Originally forked from the-argus which forked from pietdevries94 deleted and re-made repo for discoverability as github does not like to show forks in the search

Modifies Spotify using spicetify-cli.

spicetify-themes are included and available.

Usage

Add this flake as an input

#flake.nix
{
  inputs = {
    spicetify-nix = {
      url = "github:Gerg-L/spicetify-nix";
      inputs.nixpkgs.follows = "nixpkgs";
    };
...

(Make sure you're passing inputs to your modules)

Import the module

  imports = [
    # For NixOS
    inputs.spicetify-nix.nixosModules.default
    # For home-manager
    inputs.spicetify-nix.homeManagerModules.default
  ];

(Ensure you have spotify allowed as unfree)

Minimal Configuration

programs.spicetify =
   let
     spicePkgs = inputs.spicetify-nix.legacyPackages.${pkgs.system};
   in
   {
     enable = true;
     enabledExtensions = with spicePkgs.extensions; [
       adblock
       hidePodcasts
       shuffle # shuffle+ (special characters are sanitized out of extension names)
     ];
     theme = spicePkgs.themes.catppuccin;
     colorScheme = "mocha";
   }

Themes, Extensions, and CustomApps

Are found in THEMES.md, EXTENSIONS.md, and CUSTOMAPPS.md, respectively.