2023-11-22 15:33:16 -05:00
|
|
|
{
|
|
|
|
nix-gaming,
|
|
|
|
pkgs,
|
2024-08-01 00:41:47 -04:00
|
|
|
self,
|
2023-11-22 15:33:16 -05:00
|
|
|
...
|
2024-07-04 19:33:33 -04:00
|
|
|
}: {
|
2024-06-01 15:27:11 -04:00
|
|
|
imports = [
|
|
|
|
nix-gaming.nixosModules.platformOptimizations
|
|
|
|
];
|
|
|
|
|
2023-11-23 01:15:32 -05:00
|
|
|
programs = {
|
|
|
|
steam = {
|
|
|
|
enable = true;
|
2024-12-08 16:08:49 -05:00
|
|
|
protontricks.enable = true;
|
2023-11-28 21:24:53 -05:00
|
|
|
remotePlay.openFirewall = true;
|
2023-10-17 19:37:21 -04:00
|
|
|
|
2024-08-01 00:41:47 -04:00
|
|
|
extraCompatPackages = [
|
|
|
|
self.packages.${pkgs.system}.proton-ge-latest
|
2023-11-23 01:15:32 -05:00
|
|
|
];
|
2024-06-01 15:27:11 -04:00
|
|
|
|
|
|
|
platformOptimizations.enable = true;
|
2023-11-23 01:15:32 -05:00
|
|
|
};
|
2023-10-17 19:37:21 -04:00
|
|
|
};
|
2023-12-28 22:47:21 -05:00
|
|
|
|
2024-05-05 23:07:06 -04:00
|
|
|
environment.systemPackages = [
|
|
|
|
(pkgs.lutris.override {
|
2023-12-28 22:47:21 -05:00
|
|
|
extraLibraries = pkgs: [
|
|
|
|
# List library dependencies here
|
|
|
|
];
|
|
|
|
extraPkgs = pkgs: [
|
2024-07-04 19:33:33 -04:00
|
|
|
# List extra packages available to lutris here
|
2023-12-28 22:47:21 -05:00
|
|
|
];
|
|
|
|
})
|
2024-06-01 15:27:11 -04:00
|
|
|
|
|
|
|
pkgs.r2modman
|
2024-06-06 09:22:55 -04:00
|
|
|
pkgs.ryujinx
|
2023-12-28 22:47:21 -05:00
|
|
|
];
|
2023-10-17 19:10:54 -04:00
|
|
|
}
|