magpie/initrd: fix networking with systemd-enabled initrd
This commit is contained in:
		
							parent
							
								
									908c352932
								
							
						
					
					
						commit
						1f15bf221b
					
				| @ -21,18 +21,18 @@ | |||||||
|   boot.loader.systemd-boot.configurationLimit = 2; |   boot.loader.systemd-boot.configurationLimit = 2; | ||||||
|   boot.loader.efi.canTouchEfiVariables = true; |   boot.loader.efi.canTouchEfiVariables = true; | ||||||
|   boot.kernelPackages = pkgs.linuxPackages_latest; |   boot.kernelPackages = pkgs.linuxPackages_latest; | ||||||
|  |   boot.kernelParams = ["ip=dhcp"]; | ||||||
|   boot.kernel.sysctl = { |   boot.kernel.sysctl = { | ||||||
|     "net.core.default_qdisc" = "fq"; |     "net.core.default_qdisc" = "fq"; | ||||||
|     "net.ipv4.tcp_congestion_control" = "bbr"; |     "net.ipv4.tcp_congestion_control" = "bbr"; | ||||||
|   }; |   }; | ||||||
| 
 | 
 | ||||||
|   boot.initrd = { |   boot.initrd = { | ||||||
|     systemd.enable = true; |  | ||||||
|     compressor = "zstd"; |     compressor = "zstd"; | ||||||
|     availableKernelModules = ["virtio-pci"]; |     availableKernelModules = ["virtio-pci"]; | ||||||
|  |     systemd.enable = true; | ||||||
|     network = { |     network = { | ||||||
|       enable = true; |       enable = true; | ||||||
|       udhcpc.enable = true; |  | ||||||
|       ssh = { |       ssh = { | ||||||
|         enable = true; |         enable = true; | ||||||
|         hostKeys = [/etc/ssh_dummy_ed25519_key]; |         hostKeys = [/etc/ssh_dummy_ed25519_key]; | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user