2023-12-02 21:50:59 +01:00
|
|
|
{ pkgs, lib, config, ... }:
|
|
|
|
{
|
|
|
|
config = lib.mkIf config.frogeye.gaming {
|
|
|
|
# Using config.nixpkgs.<something> creates an infinite recursion,
|
|
|
|
# but the above might not be correct in case of cross-compiling?
|
2024-01-11 23:54:03 +01:00
|
|
|
home = {
|
|
|
|
packages = with pkgs; [
|
|
|
|
# gaming
|
2024-05-05 13:32:36 +02:00
|
|
|
dolphin-emu
|
2024-01-11 23:54:03 +01:00
|
|
|
yuzu-mainline
|
|
|
|
minecraft
|
|
|
|
# TODO factorio
|
2023-12-02 21:50:59 +01:00
|
|
|
|
2024-01-11 23:54:03 +01:00
|
|
|
steam # Common pitfall: https://github.com/NixOS/nixpkgs/issues/86506#issuecomment-623746883
|
2024-05-10 17:31:33 +02:00
|
|
|
itch
|
2024-05-10 23:27:45 +02:00
|
|
|
(pkgs.python3Packages.ds4drv.overrideAttrs (old: {
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "TheDrHax";
|
|
|
|
repo = "ds4drv-cemuhook";
|
|
|
|
rev = "a58f63b70f8d8efa33e5e82a8888a1e08754aeed";
|
|
|
|
sha256 = "sha256-oMvHw5zeO0skoiqLU+EdjUabTvkipeBh+m8RHJcWZP8=";
|
|
|
|
};
|
|
|
|
}))
|
2024-01-11 23:54:03 +01:00
|
|
|
];
|
|
|
|
sessionVariables = {
|
|
|
|
BOOT9_PATH = "${config.xdg.dataHome}/citra-emu/sysdata/boot9.bin";
|
|
|
|
};
|
|
|
|
};
|
2023-12-02 21:50:59 +01:00
|
|
|
};
|
|
|
|
}
|