fixed spicetify :3
This commit is contained in:
		
							
								
								
									
										50
									
								
								mods/spicetify.nix
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										50
									
								
								mods/spicetify.nix
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,50 @@ | ||||
| { config, pkgs, inputs, lib, ...}:  | ||||
|  | ||||
| let | ||||
|   spicePkgs = inputs.spicetify-nix.legacyPackages.${pkgs.system}; | ||||
| in | ||||
| { | ||||
|    | ||||
|  | ||||
|   options = { | ||||
|     spicetify.enable = lib.mkEnableOption "enable spice" // lib.mkDefault true; | ||||
|   }; | ||||
|  | ||||
|   config = lib.mkIf config.spicetify.enable { | ||||
|     imports = [ | ||||
|       # For NixOS | ||||
|       inputs.spicetify-nix.nixosModules.default | ||||
|     ]; | ||||
|  | ||||
|     enviroment.systemPackages = with pkgs; [ | ||||
|       spicetify-cli | ||||
|     ]; | ||||
|  | ||||
|     enabledExtensions = with spicePkgs.extensions; [ | ||||
|       fullAlbumDate | ||||
|       goToSong | ||||
|       listPlaylistsWithSong | ||||
|       playlistIntersection | ||||
|       skipStats | ||||
|       phraseToPlaylist | ||||
|       showQueueDuration | ||||
|       betterGenres | ||||
|       playNext | ||||
|       #adblock | ||||
|       hidePodcasts | ||||
|       #shuffle # shuffle+ (special characters are sanitized out of extension names) | ||||
|     ]; | ||||
|     #enabledCustomApps = with spicePkgs.apps; [ | ||||
|     #  newReleases | ||||
|     #  ncsVisualizer | ||||
|     #]; | ||||
|     #enabledSnippets = with spicePkgs.snippets; [ | ||||
|     #  rotatingCoverart | ||||
|      #  pointer | ||||
|     #]; | ||||
|     | ||||
|     theme = spicePkgs.themes.comfy; | ||||
|     #colorScheme = "hikari"; | ||||
|   }; | ||||
|  | ||||
| } | ||||
		Reference in New Issue
	
	Block a user