Aquatic-Nix/modules/programs/aquatic/aquatic-gaming/steam.nix

62 lines
1.3 KiB
Nix

{ inputs, ... }:
{
flake.modules.nixos.aquatic-gaming =
{ pkgs, ... }:
{
nixpkgs.overlays = [
#inputs.millennium.overlays.default
];
nixpkgs.config.allowUnfreePackages = [
"steam"
"steam-unwrapped"
];
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;
onSteamRunning = "close";
defaultCompatTool = "proton_9";
apps = {
"843380" = {
name = "Super Animal Royale";
env.PROTON_USE_WINED3D = 1;
};
"550" = {
name = "Left 4 Dead 2";
compatTool = "proton_9";
args = [
"-vulkan"
];
};
"1145360" = {
name = "Hades";
args = [
"/UseSideBarArt=false"
];
};
"1361210" = {
name = "Darktide";
compatTool = "proton_experimental";
};
"3321460" = {
name = "CrimsonDesert";
compatTool = "proton_experimental";
env.PROTON_ENABLE_WAYLAND = 1;
};
};
};
};
}