nixos-configs/devices/binto/modules/nix-gaming.nix

33 lines
578 B
Nix
Raw Normal View History

2023-11-22 15:33:16 -05:00
{
nix-gaming,
pkgs,
...
}: {
2023-10-17 19:37:21 -04:00
imports = [
nix-gaming.nixosModules.steamCompat
];
2023-11-23 01:15:32 -05:00
programs = {
steam = {
# 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
};
environment.systemPackages = with pkgs; [
(lutris.override {
extraLibraries = pkgs: [
# List library dependencies here
];
extraPkgs = pkgs: [
nix-gaming.packages.${pkgs.system}.wine-ge
];
})
];
}