changed fork and finished setting up spicetify
This commit is contained in:
		
							parent
							
								
									23107cadc7
								
							
						
					
					
						commit
						670d44fec8
					
				
							
								
								
									
										91
									
								
								flake.lock
								
								
								
								
							
							
						
						
									
										91
									
								
								flake.lock
								
								
								
								
							|  | @ -1,21 +1,5 @@ | ||||||
| { | { | ||||||
|   "nodes": { |   "nodes": { | ||||||
|     "base16-schemes": { |  | ||||||
|       "flake": false, |  | ||||||
|       "locked": { |  | ||||||
|         "lastModified": 1696158499, |  | ||||||
|         "narHash": "sha256-5yIHgDTPjoX/3oDEfLSQ0eJZdFL1SaCfb9d6M0RmOTM=", |  | ||||||
|         "owner": "tinted-theming", |  | ||||||
|         "repo": "base16-schemes", |  | ||||||
|         "rev": "a9112eaae86d9dd8ee6bb9445b664fba2f94037a", |  | ||||||
|         "type": "github" |  | ||||||
|       }, |  | ||||||
|       "original": { |  | ||||||
|         "owner": "tinted-theming", |  | ||||||
|         "repo": "base16-schemes", |  | ||||||
|         "type": "github" |  | ||||||
|       } |  | ||||||
|     }, |  | ||||||
|     "catppuccin": { |     "catppuccin": { | ||||||
|       "locked": { |       "locked": { | ||||||
|         "lastModified": 1721784420, |         "lastModified": 1721784420, | ||||||
|  | @ -31,6 +15,22 @@ | ||||||
|         "type": "github" |         "type": "github" | ||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|  |     "flake-compat": { | ||||||
|  |       "flake": false, | ||||||
|  |       "locked": { | ||||||
|  |         "lastModified": 1696426674, | ||||||
|  |         "narHash": "sha256-kvjfFW7WAETZlt09AgDn1MrtKzP7t90Vf7vypd3OL1U=", | ||||||
|  |         "owner": "edolstra", | ||||||
|  |         "repo": "flake-compat", | ||||||
|  |         "rev": "0f9255e01c2351cc7d116c072cb317785dd33b33", | ||||||
|  |         "type": "github" | ||||||
|  |       }, | ||||||
|  |       "original": { | ||||||
|  |         "owner": "edolstra", | ||||||
|  |         "repo": "flake-compat", | ||||||
|  |         "type": "github" | ||||||
|  |       } | ||||||
|  |     }, | ||||||
|     "home-manager": { |     "home-manager": { | ||||||
|       "inputs": { |       "inputs": { | ||||||
|         "nixpkgs": [ |         "nixpkgs": [ | ||||||
|  | @ -52,25 +52,6 @@ | ||||||
|         "type": "github" |         "type": "github" | ||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|     "nix-colors": { |  | ||||||
|       "inputs": { |  | ||||||
|         "base16-schemes": "base16-schemes", |  | ||||||
|         "nixpkgs-lib": "nixpkgs-lib" |  | ||||||
|       }, |  | ||||||
|       "locked": { |  | ||||||
|         "lastModified": 1707825078, |  | ||||||
|         "narHash": "sha256-hTfge2J2W+42SZ7VHXkf4kjU+qzFqPeC9k66jAUBMHk=", |  | ||||||
|         "owner": "Misterio77", |  | ||||||
|         "repo": "nix-colors", |  | ||||||
|         "rev": "b01f024090d2c4fc3152cd0cf12027a7b8453ba1", |  | ||||||
|         "type": "github" |  | ||||||
|       }, |  | ||||||
|       "original": { |  | ||||||
|         "owner": "Misterio77", |  | ||||||
|         "repo": "nix-colors", |  | ||||||
|         "type": "github" |  | ||||||
|       } |  | ||||||
|     }, |  | ||||||
|     "nixpkgs": { |     "nixpkgs": { | ||||||
|       "locked": { |       "locked": { | ||||||
|         "lastModified": 1721379653, |         "lastModified": 1721379653, | ||||||
|  | @ -87,27 +68,33 @@ | ||||||
|         "type": "github" |         "type": "github" | ||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|     "nixpkgs-lib": { |  | ||||||
|       "locked": { |  | ||||||
|         "lastModified": 1697935651, |  | ||||||
|         "narHash": "sha256-qOfWjQ2JQSQL15KLh6D7xQhx0qgZlYZTYlcEiRuAMMw=", |  | ||||||
|         "owner": "nix-community", |  | ||||||
|         "repo": "nixpkgs.lib", |  | ||||||
|         "rev": "e1e11fdbb01113d85c7f41cada9d2847660e3902", |  | ||||||
|         "type": "github" |  | ||||||
|       }, |  | ||||||
|       "original": { |  | ||||||
|         "owner": "nix-community", |  | ||||||
|         "repo": "nixpkgs.lib", |  | ||||||
|         "type": "github" |  | ||||||
|       } |  | ||||||
|     }, |  | ||||||
|     "root": { |     "root": { | ||||||
|       "inputs": { |       "inputs": { | ||||||
|         "catppuccin": "catppuccin", |         "catppuccin": "catppuccin", | ||||||
|         "home-manager": "home-manager", |         "home-manager": "home-manager", | ||||||
|         "nix-colors": "nix-colors", |         "nixpkgs": "nixpkgs", | ||||||
|         "nixpkgs": "nixpkgs" |         "spicetify-nix": "spicetify-nix" | ||||||
|  |       } | ||||||
|  |     }, | ||||||
|  |     "spicetify-nix": { | ||||||
|  |       "inputs": { | ||||||
|  |         "flake-compat": "flake-compat", | ||||||
|  |         "nixpkgs": [ | ||||||
|  |           "nixpkgs" | ||||||
|  |         ] | ||||||
|  |       }, | ||||||
|  |       "locked": { | ||||||
|  |         "lastModified": 1722053480, | ||||||
|  |         "narHash": "sha256-DG1jdoSIcRLkQvCs63MSMJmssHTwm4zGOmP3hUtAzSY=", | ||||||
|  |         "owner": "Gerg-L", | ||||||
|  |         "repo": "spicetify-nix", | ||||||
|  |         "rev": "e954f700aeaeb1b4df261c68c2391089f655fac8", | ||||||
|  |         "type": "github" | ||||||
|  |       }, | ||||||
|  |       "original": { | ||||||
|  |         "owner": "Gerg-L", | ||||||
|  |         "repo": "spicetify-nix", | ||||||
|  |         "type": "github" | ||||||
|       } |       } | ||||||
|     } |     } | ||||||
|   }, |   }, | ||||||
|  |  | ||||||
|  | @ -6,7 +6,10 @@ | ||||||
|     home-manager.url = "github:nix-community/home-manager/master"; |     home-manager.url = "github:nix-community/home-manager/master"; | ||||||
|     home-manager.inputs.nixpkgs.follows = "nixpkgs"; |     home-manager.inputs.nixpkgs.follows = "nixpkgs"; | ||||||
|     catppuccin.url = "github:catppuccin/nix"; |     catppuccin.url = "github:catppuccin/nix"; | ||||||
|       spicetify-nix.url = "github:the-argus/spicetify-nix"; |     spicetify-nix = { | ||||||
|  |       url = "github:Gerg-L/spicetify-nix"; | ||||||
|  |       inputs.nixpkgs.follows = "nixpkgs"; | ||||||
|  |     }; | ||||||
|   }; |   }; | ||||||
| 
 | 
 | ||||||
|   outputs = { nixpkgs, home-manager, catppuccin, spicetify-nix, ... } @ inputs: let |   outputs = { nixpkgs, home-manager, catppuccin, spicetify-nix, ... } @ inputs: let | ||||||
|  | @ -25,11 +28,9 @@ | ||||||
|           inherit pkgs; |           inherit pkgs; | ||||||
|           extraSpecialArgs = {  |           extraSpecialArgs = {  | ||||||
|             inherit inputs; |             inherit inputs; | ||||||
|             inherit spicetify-nix;    |  | ||||||
|           }; |           }; | ||||||
|           modules = [  |           modules = [  | ||||||
|             ./home.nix |             ./home.nix | ||||||
|             ./spicetify.nix |  | ||||||
|             catppuccin.homeManagerModules.catppuccin |             catppuccin.homeManagerModules.catppuccin | ||||||
|           ]; |           ]; | ||||||
|       }; |       }; | ||||||
|  |  | ||||||
							
								
								
									
										19
									
								
								home.nix
								
								
								
								
							
							
						
						
									
										19
									
								
								home.nix
								
								
								
								
							|  | @ -1,5 +1,23 @@ | ||||||
| { config, pkgs, inputs, ... }: | { config, pkgs, inputs, ... }: | ||||||
| { | { | ||||||
|  |   imports = [ | ||||||
|  |     inputs.spicetify-nix.homeManagerModules.default | ||||||
|  |   ]; | ||||||
|  | 
 | ||||||
|  |   programs.spicetify = | ||||||
|  |   let | ||||||
|  |     spicePkgs = inputs.spicetify-nix.legacyPackages.${pkgs.system}; | ||||||
|  |   in | ||||||
|  |   { | ||||||
|  |     enable = true; | ||||||
|  |     enabledExtensions = with spicePkgs.extensions; [ | ||||||
|  |       adblock | ||||||
|  |       hidePodcasts | ||||||
|  |       shuffle # shuffle+ (special characters are sanitized out of extension names) | ||||||
|  |     ]; | ||||||
|  |     theme = spicePkgs.themes.catppuccin; | ||||||
|  |     colorScheme = "macchiato"; | ||||||
|  |   }; | ||||||
| 
 | 
 | ||||||
|   #themes |   #themes | ||||||
|   catppuccin.flavor = "macchiato"; |   catppuccin.flavor = "macchiato"; | ||||||
|  | @ -58,7 +76,6 @@ | ||||||
|     pkgs.arandr # manager monitor |     pkgs.arandr # manager monitor | ||||||
|     pkgs.keepassxc # passwords |     pkgs.keepassxc # passwords | ||||||
|     pkgs.devdocs-desktop # docs |     pkgs.devdocs-desktop # docs | ||||||
|     pkgs.spotify |  | ||||||
|     pkgs.cargo |     pkgs.cargo | ||||||
|     pkgs.spicetify-cli |     pkgs.spicetify-cli | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -1,27 +0,0 @@ | ||||||
| { pkgs, lib, spicetify-nix, ... }: |  | ||||||
| let |  | ||||||
|   spicePkgs = spicetify-nix.packages.${pkgs.system}.default; |  | ||||||
| in |  | ||||||
| { |  | ||||||
|   # allow spotify to be installed if you don't have unfree enabled already |  | ||||||
|   nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [ |  | ||||||
|     "spotify" |  | ||||||
|   ]; |  | ||||||
| 
 |  | ||||||
|   # import the flake's module for your system |  | ||||||
|   imports = [ spicetify-nix.homeManagerModule ]; |  | ||||||
| 
 |  | ||||||
|   # configure spicetify :) |  | ||||||
|   programs.spicetify = |  | ||||||
|     { |  | ||||||
|       enable = true; |  | ||||||
|       theme = spicePkgs.themes.catppuccin; |  | ||||||
|       colorScheme = "mocha"; |  | ||||||
| 
 |  | ||||||
|       enabledExtensions = with spicePkgs.extensions; [ |  | ||||||
|         fullAppDisplay |  | ||||||
|         shuffle # shuffle+ (special characters are sanitized out of ext names) |  | ||||||
|         hidePodcasts |  | ||||||
|       ]; |  | ||||||
|     }; |  | ||||||
| } |  | ||||||
		Loading…
	
		Reference in New Issue