12 changed files with 41 additions and 5 deletions
			
			
		
									
										Binary file not shown.
									
								
							
						
									
										Binary file not shown.
									
								
							
						
									
										Binary file not shown.
									
								
							
						
									
										Binary file not shown.
									
								
							
						
									
										Binary file not shown.
									
								
							
						
									
										Binary file not shown.
									
								
							
						@ -0,0 +1,8 @@ | 
				
			|||||||
 | 
					{ config, pkgs, ... }: | 
				
			||||||
 | 
					{ | 
				
			||||||
 | 
					  environment.systemPackages = with pkgs; [ | 
				
			||||||
 | 
					    nethack | 
				
			||||||
 | 
					    steam | 
				
			||||||
 | 
					    tibia | 
				
			||||||
 | 
					  ]; | 
				
			||||||
 | 
					} | 
				
			||||||
@ -0,0 +1,24 @@ | 
				
			|||||||
 | 
					{ config, pkgs, ... }: | 
				
			||||||
 | 
					{ | 
				
			||||||
 | 
					  environment.systemPackages = with pkgs; [ | 
				
			||||||
 | 
					    physlock | 
				
			||||||
 | 
					  ]; | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  # Set sudo to use user home | 
				
			||||||
 | 
					  security.sudo.extraConfig = '' | 
				
			||||||
 | 
					    Defaults !always_set_home | 
				
			||||||
 | 
					    Defaults env_keep+="HOME" | 
				
			||||||
 | 
					  ''; | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  services = { | 
				
			||||||
 | 
					    # Configure physlock | 
				
			||||||
 | 
					    physlock = { | 
				
			||||||
 | 
					      enable = true; | 
				
			||||||
 | 
					      user = "taylor"; | 
				
			||||||
 | 
					      lockOn = { | 
				
			||||||
 | 
					        suspend = true; | 
				
			||||||
 | 
					        hibernate = true; | 
				
			||||||
 | 
					      }; | 
				
			||||||
 | 
					    }; | 
				
			||||||
 | 
					  }; | 
				
			||||||
 | 
					} | 
				
			||||||
					Loading…
					
					
				
		Reference in new issue