mirror of
				https://github.com/NixOS/nixos-hardware.git
				synced 2025-11-04 17:27:14 +08:00 
			
		
		
		
	chore: format repo using treefmt-nix and nixfmt-rfc-style
This commit is contained in:
		@@ -17,11 +17,13 @@ in
 | 
			
		||||
  boot.kernelParams = [ "acpi_backlight=vendor" ];
 | 
			
		||||
 | 
			
		||||
  # Sound requires a custom UCM config:
 | 
			
		||||
  system.replaceRuntimeDependencies = [{
 | 
			
		||||
    original = pkgs.alsa-lib;
 | 
			
		||||
  system.replaceRuntimeDependencies = [
 | 
			
		||||
    {
 | 
			
		||||
      original = pkgs.alsa-lib;
 | 
			
		||||
 | 
			
		||||
    replacement = pkgs.alsa-lib.overrideAttrs (_super: {
 | 
			
		||||
      postFixup = "cp -r ${ucm}/chtmax98090 $out/share/alsa/ucm";
 | 
			
		||||
    });
 | 
			
		||||
  }];
 | 
			
		||||
      replacement = pkgs.alsa-lib.overrideAttrs (_super: {
 | 
			
		||||
        postFixup = "cp -r ${ucm}/chtmax98090 $out/share/alsa/ucm";
 | 
			
		||||
      });
 | 
			
		||||
    }
 | 
			
		||||
  ];
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user