AquaticOS/modules/programs/aquatic/aquatic-gaming/steam.nix

47 lines
No EOL
962 B
Nix

{ inputs, ... }:
{
flake.modules.nixos.aquatic-gaming =
{ pkgs, ... }:
{
nixpkgs.overlays = [
inputs.millennium.overlays.default
];
programs.steam = {
enable = true;
package = pkgs.millennium-steam;
extraCompatPackages = with pkgs; [
proton-ge-bin
];
};
};
flake.modules.homeManager.aquatic-gaming = {
imports = [
inputs.steam-config-nix.homeModules.default
];
programs.steam.config = {
enable = true;
closeSteam = true;
defaultCompatTool = "proton_9";
apps = {
SuperAnimalRoyale = {
id = 843380;
launchOptions.env.PROTON_USE_WINED3D = 1;
};
L4D2 = {
id = 550;
launchOptions.args = [
"-vulkan"
];
};
Hades = {
id = 1145360;
launchOptions.args = [
"/UseSideBarArt=false"
];
};
};
};
};
}