add ryujinx and steam remote play
This commit is contained in:
parent
551178b73a
commit
df9c27be41
2 changed files with 21 additions and 4 deletions
|
|
@ -1,14 +1,23 @@
|
|||
{config, pkgs, ...}:let
|
||||
{config, pkgs, lib, ...}:let
|
||||
mainUser = config.myNixOS.sharedSettings.mainUser;
|
||||
localCfg = config.myNixOS.bundles.gaming;
|
||||
in {
|
||||
options = {
|
||||
myNixOS.bundles.gaming.remotePlay = lib.mkEnableOption {
|
||||
default = true;
|
||||
};
|
||||
};
|
||||
|
||||
programs.steam = {
|
||||
enable = true;
|
||||
gamescopeSession.enable = true;
|
||||
# remotePlay.openFirewall = true;
|
||||
# localNetworkGameTransfers.openFirewall = true;
|
||||
remotePlay.openFirewall = localCfg.remotePlay;
|
||||
localNetworkGameTransfers.openFirewall = localCfg.remotePlay;
|
||||
};
|
||||
programs.gamemode.enable = true;
|
||||
|
||||
hardware.steam-hardware.enable = true;
|
||||
|
||||
environment.systemPackages = with pkgs; [protonup];
|
||||
environment.sessionVariables = {
|
||||
STEAM_EXTRA_COMPAT_TOOLS_PATHS = "/home/${mainUser}/.steam/root/compatibilitytools.d";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue