refactor(treewide): statix
This commit is contained in:
		
							parent
							
								
									366fa0ce80
								
							
						
					
					
						commit
						7f2cd7a343
					
				
					 71 changed files with 84 additions and 84 deletions
				
			
		| 
						 | 
				
			
			@ -6,7 +6,7 @@
 | 
			
		|||
}: let
 | 
			
		||||
  inherit (lib) mkMerge mkIf versionAtLeast versionOlder;
 | 
			
		||||
  inherit (builtins) elem;
 | 
			
		||||
  cpu = config.ooknet.host.hardware.cpu;
 | 
			
		||||
  inherit (config.ooknet.host.hardware) cpu;
 | 
			
		||||
  cfg = cpu.amd;
 | 
			
		||||
  kernelVersion = config.boot.kernelPackages.kernel.version;
 | 
			
		||||
  kernelVersionAtLeast = versionAtLeast kernelVersion;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -6,7 +6,7 @@
 | 
			
		|||
}: let
 | 
			
		||||
  inherit (lib) mkIf;
 | 
			
		||||
  inherit (builtins) elem;
 | 
			
		||||
  cpu = config.ooknet.host.hardware.cpu;
 | 
			
		||||
  inherit (config.ooknet.host.hardware) cpu;
 | 
			
		||||
in {
 | 
			
		||||
  # TODO: put kvm/gvt behind virtualization module flag
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue