Compare commits
	
		
			1 Commits
		
	
	
		
			main
			...
			test_grub_
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
|   | c83428302c | 
							
								
								
									
										
											BIN
										
									
								
								config/garand-grub-theme/jablon.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								config/garand-grub-theme/jablon.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 809 KiB | 
							
								
								
									
										33
									
								
								config/garand-grub-theme/theme.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										33
									
								
								config/garand-grub-theme/theme.txt
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,33 @@ | ||||
| # GRUB2 gfxmenu theme | ||||
| desktop-image: "jablon.png" | ||||
| title-text: "" | ||||
| terminal-left: "0" | ||||
| terminal-top: "0" | ||||
| terminal-width: "100%" | ||||
| terminal-height: "100%" | ||||
| terminal-border: "0" | ||||
|  | ||||
| + boot_menu { | ||||
|   left = 15% | ||||
|   top = 30% | ||||
|   width = 70% | ||||
|   height = 40% | ||||
|   item_font = "DejaVu Sans Regular 12" | ||||
|   item_color = "#cccccc" | ||||
|   selected_item_color = "#ffffff" | ||||
|   icon_width = 32 | ||||
|   icon_height = 32 | ||||
|   item_height = 24 | ||||
|   item_spacing = 12 | ||||
|   selected_item_pixmap_style = "select_*.png" | ||||
| } | ||||
|  | ||||
| + label { | ||||
|   top = 82% | ||||
|   left = 15% | ||||
|   width = 70% | ||||
|   align = "center" | ||||
|   text = "Użyj strzałek do wyboru pozycji menu i Enter aby potwierdzić." | ||||
|   color = "#ffffff" | ||||
|   font = "DejaVu Sans Bold 10" | ||||
| } | ||||
| @@ -15,8 +15,33 @@ | ||||
|     }; | ||||
|     # Bootloader. | ||||
|     loader = { | ||||
|       systemd-boot.enable = true; | ||||
|       systemd-boot.enable = false; | ||||
|       efi.canTouchEfiVariables = true; | ||||
|  | ||||
|       grub = { | ||||
|         enable = true; | ||||
|         efiSupport = true; | ||||
|         device = "nodev"; | ||||
|         theme = pkgs.stdenv.mkDerivation { | ||||
|           name = "garand-grub-theme"; | ||||
|           src = ../../../config/garand-grub-theme; | ||||
|  | ||||
|           buildPhase = '' | ||||
|             mkdir -p $out/grub/themes/garand-grub-theme | ||||
|             cp -r * $out/grub/themes/garand-grub-theme/ | ||||
|           ''; | ||||
|  | ||||
|           installPhase = "true"; | ||||
|         }; | ||||
|  | ||||
|         extraEntries = '' | ||||
|           menuentry "Mój system" { | ||||
|             # konfiguracja wpisu menu | ||||
|           } | ||||
|         ''; | ||||
|  | ||||
|         gfxmodeEfi = "1920x1080"; | ||||
|       }; | ||||
|     }; | ||||
|     # Make /tmp a tmpfs | ||||
|     tmp = { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user