mirror of
				https://github.com/NixOS/nixos-hardware.git
				synced 2025-11-04 17:27:14 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			25 lines
		
	
	
		
			423 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			25 lines
		
	
	
		
			423 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
{
 | 
						|
  hardware.deviceTree.overlays = [
 | 
						|
    {
 | 
						|
      name = "rpi4-cpu-revision";
 | 
						|
      dtsText = ''
 | 
						|
        /dts-v1/;
 | 
						|
        /plugin/;
 | 
						|
 | 
						|
        / {
 | 
						|
          compatible = "raspberrypi,4-model-b";
 | 
						|
 | 
						|
          fragment@0 {
 | 
						|
            target-path = "/";
 | 
						|
            __overlay__ {
 | 
						|
              system {
 | 
						|
                linux,revision = <0x00d03114>;
 | 
						|
              };
 | 
						|
            };
 | 
						|
          };
 | 
						|
        };
 | 
						|
      '';
 | 
						|
    }
 | 
						|
  ];
 | 
						|
}
 |