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-08 13:08:39 +02:00
|
|
|
# itch # TODO Disabled because 23.11 version of npm-fetch-deps include nix so can't change nix, unstable has broken dependency
|
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
|
|
|
};
|
|
|
|
}
|