fixed spicetify :3
This commit is contained in:
		
							
								
								
									
										56
									
								
								mods/chat_spice.nix
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										56
									
								
								mods/chat_spice.nix
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,56 @@ | ||||
| { config, pkgs, inputs, lib, ... }: | ||||
|  | ||||
| let | ||||
|   spicePkgs = inputs.spicetify-nix.legacyPackages.${pkgs.system}; | ||||
| in | ||||
| { | ||||
|   options.spicetify.enable = lib.mkEnableOption "Enable Spicetify integration"; | ||||
|  | ||||
|   config = lib.mkIf config.spicetify.enable { | ||||
|     # Import the Spicetify NixOS module for system configuration | ||||
|     imports = [ | ||||
|       inputs.spicetify-nix.nixosModules.default | ||||
|     ]; | ||||
|  | ||||
|     # Add the `spicetify-cli` tool to the system packages | ||||
|     environment.systemPackages = with pkgs; [ | ||||
|       spicetify-cli | ||||
|     ]; | ||||
|  | ||||
|     # Configure Spicetify with extensions, themes, and other customizations | ||||
|     spicetify = { | ||||
|       enabledExtensions = with spicePkgs.extensions; [ | ||||
|         fullAlbumDate | ||||
|         goToSong | ||||
|         listPlaylistsWithSong | ||||
|         playlistIntersection | ||||
|         skipStats | ||||
|         phraseToPlaylist | ||||
|         showQueueDuration | ||||
|         betterGenres | ||||
|         playNext | ||||
|         # Uncomment the following lines to enable more extensions | ||||
|         # adblock | ||||
|         hidePodcasts | ||||
|         # shuffle | ||||
|       ]; | ||||
|  | ||||
|       # Uncomment and configure custom apps if needed | ||||
|       # enabledCustomApps = with spicePkgs.apps; [ | ||||
|       #   newReleases | ||||
|       #   ncsVisualizer | ||||
|       # ]; | ||||
|  | ||||
|       # Uncomment and configure snippets if needed | ||||
|       # enabledSnippets = with spicePkgs.snippets; [ | ||||
|       #   rotatingCoverart | ||||
|       #   pointer | ||||
|       # ]; | ||||
|  | ||||
|       # Set the theme and optional color scheme | ||||
|       theme = spicePkgs.themes.comfy; | ||||
|       # colorScheme = "hikari"; | ||||
|     }; | ||||
|   }; | ||||
| } | ||||
|  | ||||
		Reference in New Issue
	
	Block a user