35 lines
779 B
Nix
35 lines
779 B
Nix
{
|
|
den,
|
|
modules,
|
|
inputs,
|
|
...
|
|
}:
|
|
{
|
|
flake-file.inputs = {
|
|
spicetify-nix.url = "github:Gerg-L/spicetify-nix";
|
|
};
|
|
modules.spotify = {
|
|
homeManager =
|
|
{ pkgs, ... }:
|
|
let
|
|
spicePkgs = inputs.spicetify-nix.legacyPackages.${pkgs.stdenv.system};
|
|
in
|
|
{
|
|
imports = [
|
|
# Example for NixOS
|
|
inputs.spicetify-nix.nixosModules.spicetify
|
|
];
|
|
programs.spicetify = {
|
|
enable = true;
|
|
enabledExtensions = with spicePkgs.extensions; [
|
|
adblockify
|
|
hidePodcasts
|
|
shuffle # shuffle+ (special characters are sanitized out of extension names)
|
|
];
|
|
theme = spicePkgs.themes.catppuccin;
|
|
colorScheme = "mocha";
|
|
};
|
|
};
|
|
};
|
|
}
|