19 lines
		
	
	
	
		
			291 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
	
		
			291 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
{
 | 
						|
  lib,
 | 
						|
  config,
 | 
						|
  pkgs,
 | 
						|
  ...
 | 
						|
}: let
 | 
						|
  inherit (lib) mkIf;
 | 
						|
  inherit (builtins) elem;
 | 
						|
  inherit (config.ooknet.hardware) features;
 | 
						|
in {
 | 
						|
  config = mkIf (elem "video" features) {
 | 
						|
    hardware = {
 | 
						|
      graphics = {
 | 
						|
        enable = true;
 | 
						|
        enable32Bit = true;
 | 
						|
      };
 | 
						|
    };
 | 
						|
  };
 | 
						|
}
 |