Add armv7l kernel patch
This commit is contained in:
		
							parent
							
								
									3fbd12818b
								
							
						
					
					
						commit
						8622d9967f
					
				
					 2 changed files with 21 additions and 0 deletions
				
			
		
							
								
								
									
										20
									
								
								home-manager/hosts/wheatley/armv7l.nix
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										20
									
								
								home-manager/hosts/wheatley/armv7l.nix
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,20 @@
 | 
			
		|||
{
 | 
			
		||||
  config,
 | 
			
		||||
  pkgs,
 | 
			
		||||
  ...
 | 
			
		||||
}: {
 | 
			
		||||
  boot.kernelPatches = [
 | 
			
		||||
    rec {
 | 
			
		||||
      name = "compat_uts_machine";
 | 
			
		||||
      patch = pkgs.fetchpatch {
 | 
			
		||||
        inherit name;
 | 
			
		||||
        url = "https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/jammy/patch/?id=c1da50fa6eddad313360249cadcd4905ac9f82ea";
 | 
			
		||||
        sha256 = "sha256-357+EzMLLt7IINdH0ENE+VcDXwXJMo4qiF/Dorp2Eyw=";
 | 
			
		||||
      };
 | 
			
		||||
    }
 | 
			
		||||
  ];
 | 
			
		||||
  boot.kernelParams = [
 | 
			
		||||
    "compat_uts_machine=armv7l"
 | 
			
		||||
  ];
 | 
			
		||||
  nix.settings.extra-platforms = "armv7l-linux";
 | 
			
		||||
}
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue