feat(sunshine): customise apps available in Sunshine
This commit is contained in:
		
							parent
							
								
									b277018b88
								
							
						
					
					
						commit
						b7b18f664e
					
				@ -16,5 +16,33 @@ in {
 | 
				
			|||||||
    capSysAdmin = true;
 | 
					    capSysAdmin = true;
 | 
				
			||||||
    openFirewall = true;
 | 
					    openFirewall = true;
 | 
				
			||||||
    settings.sunshine_name = config.mySystem.networking.hostname;
 | 
					    settings.sunshine_name = config.mySystem.networking.hostname;
 | 
				
			||||||
 | 
					    applications.apps = [
 | 
				
			||||||
 | 
					      {
 | 
				
			||||||
 | 
					        name = "Desktop";
 | 
				
			||||||
 | 
					        image-path = "desktop.png";
 | 
				
			||||||
 | 
					      }
 | 
				
			||||||
 | 
					      {
 | 
				
			||||||
 | 
					        name = "Low Res Desktop";
 | 
				
			||||||
 | 
					        image-path = "desktop.png";
 | 
				
			||||||
 | 
					      }
 | 
				
			||||||
 | 
					      {
 | 
				
			||||||
 | 
					        name = "Steam Big Picture";
 | 
				
			||||||
 | 
					        detached = ["setsid steam steam://open/bigpicture"];
 | 
				
			||||||
 | 
					        prep-cmd = {
 | 
				
			||||||
 | 
					          do = "";
 | 
				
			||||||
 | 
					          undo = "setsid steam steam://close/bigpicture";
 | 
				
			||||||
 | 
					        };
 | 
				
			||||||
 | 
					        image-path = "steam.png";
 | 
				
			||||||
 | 
					      }
 | 
				
			||||||
 | 
					      {
 | 
				
			||||||
 | 
					        name = "OpenTTD";
 | 
				
			||||||
 | 
					        cmd = "openttd";
 | 
				
			||||||
 | 
					        image-path = "/home/phundrak/.config/sunshine/covers/igdb_18074.png";
 | 
				
			||||||
 | 
					      }
 | 
				
			||||||
 | 
					      {
 | 
				
			||||||
 | 
					        name = "OpenMW";
 | 
				
			||||||
 | 
					        cmd = "openmw";
 | 
				
			||||||
 | 
					      }
 | 
				
			||||||
 | 
					    ];
 | 
				
			||||||
  };
 | 
					  };
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user