13
									
								
								hosts/common/services/pipewire/default.nix
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								hosts/common/services/pipewire/default.nix
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,13 @@
 | 
			
		||||
{ ... }:
 | 
			
		||||
{
 | 
			
		||||
  services.pipewire = {
 | 
			
		||||
    enable = true;
 | 
			
		||||
    alsa = {
 | 
			
		||||
      enable = true;
 | 
			
		||||
      support32Bit = true;
 | 
			
		||||
    };
 | 
			
		||||
    pulse.enable = true;
 | 
			
		||||
    socketActivation = true;
 | 
			
		||||
    wireplumber.enable = true;
 | 
			
		||||
  };
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										26
									
								
								hosts/common/services/xserver/default.nix
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										26
									
								
								hosts/common/services/xserver/default.nix
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,26 @@
 | 
			
		||||
{ config, lib, ... }:
 | 
			
		||||
 | 
			
		||||
{
 | 
			
		||||
  services = {
 | 
			
		||||
    libinput = {
 | 
			
		||||
      enable = true;
 | 
			
		||||
      mouse = {
 | 
			
		||||
        accelSpeed = "0";
 | 
			
		||||
      };
 | 
			
		||||
      touchpad = {
 | 
			
		||||
        middleEmulation = false;
 | 
			
		||||
        clickMethod = "buttonareas";
 | 
			
		||||
        tapping = true;
 | 
			
		||||
        naturalScrolling = true;
 | 
			
		||||
      };
 | 
			
		||||
    };
 | 
			
		||||
    xserver = {
 | 
			
		||||
      enable = true;
 | 
			
		||||
      displayManager.startx.enable = true;
 | 
			
		||||
      xkb.layout = "us";
 | 
			
		||||
      xkb.variant = "colemak_dh";
 | 
			
		||||
      autoRepeatDelay = 320;
 | 
			
		||||
      autoRepeatInterval = 30;
 | 
			
		||||
    };
 | 
			
		||||
  };
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user