add plymouth-themes
This commit is contained in:
		
							parent
							
								
									c0e353eec7
								
							
						
					
					
						commit
						1cfa32d0dc
					
				|  | @ -30,6 +30,11 @@ | |||
|   }; | ||||
| 
 | ||||
|   boot.supportedFilesystems = [ "ntfs" ]; | ||||
|   boot.plymouth = { | ||||
|     enable = true; | ||||
|     themePackages = [ pkgs.plymouth-themes ]; | ||||
|     theme = "motion"; | ||||
|   }; | ||||
| 
 | ||||
|   # lazy enable of ports necessary for KDE connect which is installed via cli home profile (for some reason?) | ||||
|   networking.firewall = { | ||||
|  |  | |||
|  | @ -2,4 +2,5 @@ final: prev: { | |||
|   # keep sources this first | ||||
|   sources = prev.callPackage (import ./_sources/generated.nix) { }; | ||||
|   # then, call packages with `final.callPackage` | ||||
|   plymouth-themes = prev.callPackage ./plymouth.nix { }; | ||||
| } | ||||
|  |  | |||
							
								
								
									
										31
									
								
								pkgs/plymouth.nix
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										31
									
								
								pkgs/plymouth.nix
									
									
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,31 @@ | |||
| { pkgs, ... }: | ||||
| pkgs.stdenv.mkDerivation rec { | ||||
|   pname = "plymouth-themes"; | ||||
|   version = "bf2f570bee8e84c5c20caac353cbe1d811a4745f"; | ||||
| 
 | ||||
|   src = pkgs.fetchGit { | ||||
|     url = "https://github.com/adi1090x/plymouth-themes"; | ||||
|     rev = "bf2f570bee8e84c5c20caac353cbe1d811a4745f"; | ||||
|     sha256 = ""; | ||||
|   }; | ||||
| 
 | ||||
|   buildInputs = [ | ||||
|     pkgs.git | ||||
|   ]; | ||||
| 
 | ||||
|   configurePhase = '' | ||||
|     mkdir -p $out/share/plymouth/themes/ | ||||
|   ''; | ||||
| 
 | ||||
|   buildPhase = '' | ||||
|   ''; | ||||
| 
 | ||||
|   installPhase = '' | ||||
|     cp -r pack_3/lone $out/share/plymouth/themes | ||||
|     cat pack_3/lone/lone.plymouth | sed  "s@\/usr\/@$out\/@" > $out/share/plymouth/themes/lone/lone.plymouth | ||||
|     cat pack_3/motion/motion.plymouth | sed  "s@\/usr\/@$out\/@" > $out/share/plymouth/themes/lone/lone.plymouth | ||||
|     cat pack_1/colorful_sliced/colorful_sliced.plymouth | sed  "s@\/usr\/@$out\/@" > $out/share/plymouth/themes/lone/lone.plymouth | ||||
|     cat pack_2/hexagon_2/hexagon_2.plymouth | sed  "s@\/usr\/@$out\/@" > $out/share/plymouth/themes/lone/lone.plymouth | ||||
|     cat pack_2/hexagon_dots_alt/hexagon_dots_alt.plymouth | sed  "s@\/usr\/@$out\/@" > $out/share/plymouth/themes/lone/lone.plymouth | ||||
|   ''; | ||||
| } | ||||
		Loading…
	
		Reference in a new issue