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:
		@@ -1,4 +1,5 @@
 | 
			
		||||
{ lib,
 | 
			
		||||
{
 | 
			
		||||
  lib,
 | 
			
		||||
  pkgs,
 | 
			
		||||
  config,
 | 
			
		||||
  ...
 | 
			
		||||
@@ -7,7 +8,8 @@
 | 
			
		||||
let
 | 
			
		||||
  inherit (lib) mkDefault;
 | 
			
		||||
 | 
			
		||||
in {
 | 
			
		||||
in
 | 
			
		||||
{
 | 
			
		||||
  imports = [
 | 
			
		||||
    ../shared.nix
 | 
			
		||||
    ## "prime.nix" loads this, aleady:
 | 
			
		||||
@@ -23,8 +25,6 @@ in {
 | 
			
		||||
    blacklistedKernelModules = [ "nouveau" ];
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
  
 | 
			
		||||
 | 
			
		||||
  hardware = {
 | 
			
		||||
    ## Enable the Nvidia card, as well as Prime and Offload:
 | 
			
		||||
    amdgpu.initrd.enable = mkDefault true;
 | 
			
		||||
@@ -49,7 +49,7 @@ in {
 | 
			
		||||
      };
 | 
			
		||||
 | 
			
		||||
      dynamicBoost.enable = mkDefault true;
 | 
			
		||||
      
 | 
			
		||||
 | 
			
		||||
    };
 | 
			
		||||
  };
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user