mirror of
				https://github.com/NixOS/nixos-hardware.git
				synced 2025-11-04 09:17:14 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			14 lines
		
	
	
		
			416 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			416 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
{ config, lib, pkgs, ... }: {
 | 
						|
  imports =
 | 
						|
    [ ./kernel ./hardware_configuration.nix ./firmware/surface-go/ath10k ];
 | 
						|
 | 
						|
  environment.systemPackages = with pkgs; [ surface-control ];
 | 
						|
  users.groups.surface-control = { };
 | 
						|
  services.udev.packages = [ pkgs.surface-control ];
 | 
						|
  systemd.services.iptsd = {
 | 
						|
    description = "IPTSD";
 | 
						|
    script = "${pkgs.iptsd}/bin/iptsd";
 | 
						|
    wantedBy = [ "multi-user.target" ];
 | 
						|
  };
 | 
						|
}
 |