Worked around issue with failing DO image builds
This commit is contained in:
		
							parent
							
								
									ab5a05bd86
								
							
						
					
					
						commit
						0354c66afb
					
				
					 2 changed files with 8 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -1,6 +1,7 @@
 | 
			
		|||
{
 | 
			
		||||
  config,
 | 
			
		||||
  pkgs,
 | 
			
		||||
  lib,
 | 
			
		||||
  ...
 | 
			
		||||
}: {
 | 
			
		||||
  aa = {
 | 
			
		||||
| 
						 | 
				
			
			@ -29,6 +30,11 @@
 | 
			
		|||
    tools.zsh.enable = true;
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
  # Workaround for broken digital ocean image builds
 | 
			
		||||
  # See: https://github.com/NixOS/nixpkgs/issues/308404
 | 
			
		||||
  boot.loader.grub.devices = lib.mkForce ["/dev/vda"];
 | 
			
		||||
  boot.loader.grub.device = "/dev/vda";
 | 
			
		||||
 | 
			
		||||
  services.nginx = {
 | 
			
		||||
    enable = true;
 | 
			
		||||
    appendHttpConfig = ''
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue