Compare commits
	
		
			2 Commits
		
	
	
		
			ceff5dac07
			...
			a760c0251e
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
|   | a760c0251e | ||
|   | dad0cdb169 | 
							
								
								
									
										1
									
								
								dotfiles
									
									
									
									
									
										Submodule
									
								
							
							
								
								
								
								
								
								
									
									
								
							
						
						
									
										1
									
								
								dotfiles
									
									
									
									
									
										Submodule
									
								
							| @ -0,0 +1 @@ | ||||
| Subproject commit 9d73b0d728c81aeab28b0af68b390532279f0ab1 | ||||
| @ -3,6 +3,7 @@ | ||||
| { | ||||
|   imports = [ | ||||
|     ./emulators/pcsx2.nix | ||||
|     ./emulators/retroarch.nix | ||||
|     ./emulators/ryujinx.nix | ||||
|     ./launchers/es-de.nix | ||||
|     ./launchers/modrinth.nix | ||||
|  | ||||
							
								
								
									
										22
									
								
								user-modules/gaming/emulators/retroarch.nix
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										22
									
								
								user-modules/gaming/emulators/retroarch.nix
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,22 @@ | ||||
| { | ||||
|   lib, | ||||
|   config, | ||||
|   pkgs, | ||||
|   ... | ||||
| }: | ||||
| 
 | ||||
| with lib; | ||||
| let | ||||
|   cfg = config.modules.retroarch; | ||||
| in | ||||
| { | ||||
|   options.modules.retroarch = { | ||||
|     enable = mkEnableOption "RetroArch"; | ||||
|   }; | ||||
| 
 | ||||
|   config = mkIf cfg.enable { | ||||
|     home.packages = with pkgs; [ | ||||
|       retroarch-free | ||||
|     ]; | ||||
|   }; | ||||
| } | ||||
| @ -16,7 +16,10 @@ in | ||||
| 
 | ||||
|   config = mkIf cfg.enable { | ||||
|     home.packages = with pkgs; [ | ||||
|       ryujinx | ||||
|       ryubing | ||||
|     ]; | ||||
| 
 | ||||
|     # TODO: Make more general | ||||
|     wayland.windowManager.river.settings.rule-add."-app-id"."'Ryujinx'" = "fullscreen"; | ||||
|   }; | ||||
| } | ||||
|  | ||||
| @ -1,6 +1,7 @@ | ||||
| { | ||||
|   lib, | ||||
|   config, | ||||
|   pkgs, | ||||
|   ... | ||||
| }: | ||||
| 
 | ||||
| @ -17,5 +18,12 @@ in | ||||
|     ]; | ||||
| 
 | ||||
|     programs.steam.enable = true; | ||||
| 
 | ||||
|     # Make steam create desktop entries in a subfolder | ||||
|     programs.steam.package = pkgs.steam.override { | ||||
|       extraBwrapArgs = [ | ||||
|         "--bind $HOME/.local/share/applications/Steam $HOME/.local/share/applications" | ||||
|       ]; | ||||
|     }; | ||||
|   }; | ||||
| } | ||||
|  | ||||
| @ -67,6 +67,7 @@ | ||||
|       modrinth.enable = true; | ||||
|       es-de.enable = true; | ||||
|       pcsx2.enable = true; | ||||
|       retroarch.enable = true; | ||||
|       ryujinx.enable = true; | ||||
| 
 | ||||
|       # Media | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user