2023-11-22 15:33:16 -05:00
|
|
|
{
|
|
|
|
nix-gaming,
|
|
|
|
pkgs,
|
|
|
|
...
|
|
|
|
}: {
|
2023-12-31 15:44:53 -05:00
|
|
|
imports = [nix-gaming.nixosModules.steamCompat];
|
2023-10-17 19:37:21 -04:00
|
|
|
|
2023-11-23 01:15:32 -05:00
|
|
|
programs = {
|
|
|
|
steam = {
|
2023-11-23 16:59:17 -05:00
|
|
|
# Disable HW accel to fix flickers
|
2023-11-23 01:15:32 -05:00
|
|
|
enable = true;
|
2023-11-28 21:24:53 -05:00
|
|
|
remotePlay.openFirewall = true;
|
2023-10-17 19:37:21 -04:00
|
|
|
|
2023-11-23 01:15:32 -05:00
|
|
|
extraCompatPackages = [
|
|
|
|
nix-gaming.packages.${pkgs.system}.proton-ge
|
|
|
|
];
|
|
|
|
};
|
2023-10-17 19:37:21 -04:00
|
|
|
};
|
2023-12-28 22:47:21 -05:00
|
|
|
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
|
|
(lutris.override {
|
|
|
|
extraLibraries = pkgs: [
|
|
|
|
# List library dependencies here
|
|
|
|
];
|
|
|
|
extraPkgs = pkgs: [
|
|
|
|
nix-gaming.packages.${pkgs.system}.wine-ge
|
|
|
|
];
|
|
|
|
})
|
|
|
|
];
|
2023-10-17 19:10:54 -04:00
|
|
|
}
|