chore: suspend powerKey
This commit is contained in:
		
							parent
							
								
									8b9b00f33b
								
							
						
					
					
						commit
						ffd6f6e9c6
					
				
					 1 changed files with 4 additions and 1 deletions
				
			
		|  | @ -90,11 +90,14 @@ | |||
|   networking.hostName = "Tibo-NixFat"; | ||||
| 
 | ||||
|   services = { | ||||
|     # Handle the laptop lid switch as follows: | ||||
|     logind = { | ||||
|       # Handle the laptop lid switch as follows: | ||||
|       lidSwitch = "hybrid-sleep"; | ||||
|       lidSwitchExternalPower = "lock"; | ||||
|       lidSwitchDocked = "ignore"; | ||||
| 
 | ||||
|       # Handle the power key | ||||
|       powerKey = "suspend"; | ||||
|     }; | ||||
| 
 | ||||
|     xserver.xkb = { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue