mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 00:43:56 -05:00
got rocket league actually working
This commit is contained in:
parent
8fd79814fd
commit
360b68aea3
8 changed files with 62 additions and 71 deletions
|
|
@ -8,38 +8,10 @@
|
|||
heroic
|
||||
legendary-gl
|
||||
prismlauncher
|
||||
]
|
||||
++ builtins.attrValues (inputs.nix-gaming.lib.legendaryBuilder
|
||||
{
|
||||
inherit (pkgs) system;
|
||||
|
||||
games = {
|
||||
rocket-league = {
|
||||
desktopName = "Rocket League";
|
||||
|
||||
tricks = ["dxvk" "win10"];
|
||||
|
||||
icon = builtins.fetchurl {
|
||||
url = "https://user-images.githubusercontent.com/36706276/203341314-eaaa0659-9b79-4f40-8b4a-9bc1f2b17e45.png";
|
||||
name = "rocket-league.png";
|
||||
sha256 = "0a9ayr3vwsmljy7dpf8wgichsbj4i4wrmd8awv2hffab82fz4ykb";
|
||||
};
|
||||
|
||||
discordIntegration = false;
|
||||
gamemodeIntegration = false;
|
||||
|
||||
preCommands = ''
|
||||
echo "the game will start!"
|
||||
'';
|
||||
|
||||
postCommands = ''
|
||||
echo "the game has stopped!"
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
opts = {
|
||||
wine = inputs.nix-gaming.packages.${pkgs.system}.wine-tkg;
|
||||
};
|
||||
});
|
||||
];
|
||||
programs.steam = {
|
||||
enable = true;
|
||||
remotePlay.openFirewall = true; # Open ports in the firewall for Steam Remote Play
|
||||
dedicatedServer.openFirewall = true; # Open ports in the firewall for Source Dedicated Server
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue