19 lines
		
	
	
		
			419 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			419 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
| { lib, config, pkgs, ... }:
 | |
| let cfg = config.hostcfg.make.gui;
 | |
| in {
 | |
|   config = lib.mkIf cfg {
 | |
|     services.xserver = {
 | |
|       enable = true;
 | |
|       videoDrivers = [ "amd" ];
 | |
|       xkb = {
 | |
|         layout = "us";
 | |
|         variant = "intl";
 | |
|       };
 | |
|       excludePackages = [ pkgs.xterm ];
 | |
|       exportConfiguration = true;
 | |
|       #  libinput.touchpad.tapping = false;
 | |
|       desktopManager.xterm.enable = false;
 | |
|     };
 | |
|   };
 | |
| }
 |