used to define general host configuration, including: - hardware - name - admin - type - role
		
			
				
	
	
		
			18 lines
		
	
	
	
		
			294 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
	
		
			294 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
{ lib, ... }:
 | 
						|
 | 
						|
let
 | 
						|
  inherit (lib) types mkOption;
 | 
						|
in
 | 
						|
 | 
						|
{
 | 
						|
  imports = [
 | 
						|
    ./amd
 | 
						|
    ./intel
 | 
						|
  ];
 | 
						|
 | 
						|
  options.systemModules.host.hardware.cpu.type = mkOption {
 | 
						|
    type = with types; nullOr (enum ["intel" "amd"]);
 | 
						|
    default = null;
 | 
						|
    description = "Type of cpu system module to use";
 | 
						|
  };
 | 
						|
}
 |