Spicetify-Nix: Difference between revisions

Layer-09 (talk | contribs)
mNo edit summary
Nyxar77 (talk | contribs)
m fixed the error for nix-darwin
 
(6 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<div style="border: 1px solid #295BC6; background: #DEE9FF; padding: 30px; border-radius: 5px; margin: 10px 0px; display: flex; align-items: center;">
<div style="border: 1px solid var(--color-progressive--hover); background: var(--background-color-progressive-subtle); padding: 30px; border-radius: 5px; margin: 10px 0px; display: flex; align-items: center;">
     <div style="color: #295BC6; font-size: 40px; margin-right: 15px; background: #DEE9FF; display: flex; line-height: 0; align-items: center;">❄</div>
     <div style="color: var(--color-progressive--hover); font-size: 40px; margin-right: 15px; background: var(--background-color-progressive-subtle); display: flex; line-height: 0; align-items: center;">❄</div>
     <div style="color: #295BC6; font-size: 15px; font-style: normal; font-weight: 400; line-height: normal; text-align: left;">This guide requires an understanding of flakes.</div>
     <div style="color: var(--color-progressive--hover); font-size: 15px; font-style: normal; font-weight: 400; line-height: normal; text-align: left;">This guide requires an understanding of [[Flakes|flakes]].</div>
</div>
</div>


<div style="border: 1px solid #6A0DAD; background: #F0E6FA; padding: 15px; border-radius: 5px; margin: 10px 0px; display: flex; justify-content: space-between; align-items: center;">
<div style="border: 1px solid var(--color-content-added); background: var(--background-color-success-subtle); padding: 15px; border-radius: 5px; margin: 10px 0px; display: flex; justify-content: space-between; align-items: center;">
<div style="color: #6A0DAD; font-size: 14px; font-style: normal; font-weight: 400; line-height: normal; text-align: left;">[https://spotify.com/ Spotify]</div>
<div style="color: var(--color-content-added); font-size: 14px; font-style: normal; font-weight: 400; line-height: normal; text-align: left;">[https://spotify.com/ Spotify]</div>
<div style="color: #6A0DAD; font-size: 14px; font-style: normal; font-weight: 400; line-height: normal; text-align: center;">[https://wiki.nixos.org/wiki/Unfree_software#Using_unfree_packages/ License: Unfree]</div>
<div style="color: var(--color-content-added); font-size: 14px; font-style: normal; font-weight: 400; line-height: normal; text-align: center;">[https://wiki.nixos.org/wiki/Unfree_software#Using_unfree_packages/ License: Unfree]</div>
<div style="color: #6A0DAD; font-size: 14px; font-style: normal; font-weight: 400; line-height: normal; text-align: right;">[https://www.spotify.com/legal/end-user-agreement/ Terms of Service]</div>
<div style="color: var(--color-content-added); font-size: 14px; font-style: normal; font-weight: 400; line-height: normal; text-align: right;">[https://www.spotify.com/legal/end-user-agreement/ Terms of Service]</div>
</div>
</div>


[https://github.com/Gerg-L/spicetify-nix/ Spicetify-Nix] is a comprehensive repository designed to integrate Spicetify with the Nix package manager and NixOS. This repository offers a Nix package and NixOS module for Spicetify, simplifying the installation and configuration process on NixOS systems. It supports various themes, extensions, and customizations to improve the Spotify user experience. The NixOS module provides predefined options and parameters, ensuring a straightforward setup.  
[https://github.com/Gerg-L/spicetify-nix/ Spicetify-Nix] is a comprehensive repository designed to integrate Spicetify with the Nix package manager and NixOS. This repository offers a Nix package and NixOS module for Spicetify, simplifying the installation and configuration process on NixOS systems. It supports various themes, extensions, and customizations to improve the [[Spotify]] user experience. The NixOS module provides predefined options and parameters, ensuring a straightforward setup.  


== Installation ==  
== Installation ==  
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 27: Line 26:
   # For home-manager
   # For home-manager
   inputs.spicetify-nix.homeManagerModules.default
   inputs.spicetify-nix.homeManagerModules.default
  # For nix-darwin
  inputs.spicetify-nix.darwinModules.default
];
];
</syntaxhighlight>
</syntaxhighlight>
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.stdenv.hostPlatform.system};
in
in
{
{
   enable = true;
   enable = true;
   theme = spicePkgs.themes.catppuccin;
   theme = spicePkgs.themes.catppuccin;
}
}</syntaxhighlight>
</syntaxhighlight>


==== Advanced ====
==== Advanced ====
Line 47: Line 46:
programs.spicetify =
programs.spicetify =
let
let
   spicePkgs = inputs.spicetify-nix.legacyPackages.${pkgs.system};
   spicePkgs = inputs.spicetify-nix.legacyPackages.${pkgs.stdenv.hostPlatform.system};
in
in
{
{
Line 62: Line 61:
   ];
   ];
   enabledSnippets = with spicePkgs.snippets; [
   enabledSnippets = with spicePkgs.snippets; [
     rotating-coverart
     rotatingCoverart
     pointer
     pointer
   ];
   ];
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
[[Category:Desktop]]