Spicetify-Nix: Difference between revisions

Advanced: Changed snippet to use camelCase instead of snake-case. https://github.com/Gerg-L/spicetify-nix/issues/218#issuecomment-2280847169
Tags: Mobile edit Mobile web edit
Gerg-L (talk | contribs)
Remove reference to delete file, remove suggestion to follow nixpkgs
Line 17: Line 17:
<syntaxhighlight lang="nix">
<syntaxhighlight lang="nix">
spicetify-nix.url = "github:Gerg-L/spicetify-nix";
spicetify-nix.url = "github:Gerg-L/spicetify-nix";
spicetify-nix.inputs.nixpkgs.follows = "nixpkgs";
</syntaxhighlight>
</syntaxhighlight>


Line 26: Line 25:
   inputs.spicetify-nix.nixosModules.default
   inputs.spicetify-nix.nixosModules.default
   # For home-manager
   # For home-manager
  inputs.spicetify-nix.homeManagerModules.default
  # For nix-darwin
   inputs.spicetify-nix.homeManagerModules.default
   inputs.spicetify-nix.homeManagerModules.default
];
];
Line 32: Line 33:
== Configuration ==  
== Configuration ==  
==== Basic ====
==== Basic ====
<syntaxhighlight lang="nix">
<syntaxhighlight lang="nix">programs.spicetify =
programs.spicetify =
let
let
   spicePkgs = inputs.spicetify-nix.legacyPackages.${pkgs.system};
   spicePkgs = inputs.spicetify-nix.legacyPackages.${pkgs.system};
Line 40: Line 40:
   enable = true;
   enable = true;
   theme = spicePkgs.themes.catppuccin;
   theme = spicePkgs.themes.catppuccin;
}
}</syntaxhighlight>
</syntaxhighlight>


==== Advanced ====
==== Advanced ====
Line 73: Line 72:
== Tips and Tricks ==
== Tips and Tricks ==
==== Location of Options ====
==== Location of Options ====
The options are found in the module: [https://github.com/Gerg-L/spicetify-nix/blob/master/module.nix module.nix].
The options are found in the [https://gerg-l.github.io/spicetify-nix/options.html rendered docs].


The extensions, customApps, and themes are found in the following files: [https://github.com/Gerg-L/spicetify-nix/blob/master/docs/EXTENSIONS.md EXTENSIONS.md], [https://github.com/Gerg-L/spicetify-nix/blob/master/docs/CUSTOMAPPS.md CUSTOMAPPS.md], [https://github.com/Gerg-L/spicetify-nix/blob/master/docs/THEMES.md THEMES.md].
The extensions, customApps, and themes are found in the following files: [https://github.com/Gerg-L/spicetify-nix/blob/master/docs/EXTENSIONS.md EXTENSIONS.md], [https://github.com/Gerg-L/spicetify-nix/blob/master/docs/CUSTOMAPPS.md CUSTOMAPPS.md], [https://github.com/Gerg-L/spicetify-nix/blob/master/docs/THEMES.md THEMES.md].
Line 126: Line 125:
# https://github.com/Gerg-L/spicetify-nix
# https://github.com/Gerg-L/spicetify-nix
# https://www.spotify.com/legal/end-user-agreement
# https://www.spotify.com/legal/end-user-agreement
# https://github.com/Gerg-L/spicetify-nix/blob/master/module.nix
# https://gerg-l.github.io/spicetify-nix/options.html
# https://github.com/Gerg-L/spicetify-nix/blob/master/docs/EXTENSIONS.md
# https://github.com/Gerg-L/spicetify-nix/blob/master/docs/EXTENSIONS.md
# https://github.com/Gerg-L/spicetify-nix/blob/master/docs/CUSTOMAPPS.md
# https://github.com/Gerg-L/spicetify-nix/blob/master/docs/CUSTOMAPPS.md
# https://github.com/Gerg-L/spicetify-nix/blob/master/docs/THEMES.md
# https://github.com/Gerg-L/spicetify-nix/blob/master/docs/THEMES.md