dotfiles/hm/gaming/default.nix

31 lines
959 B
Nix
Raw Normal View History

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-06-01 18:22:50 +02:00
ryujinx
prismlauncher
2024-01-11 23:54:03 +01:00
# 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-06-01 18:22:50 +02:00
# itch # butler-15.21.0 is broken
(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
};
}