dotfiles/hm/gaming/default.nix
2024-05-08 13:08:39 +02:00

23 lines
728 B
Nix

{ 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?
home = {
packages = with pkgs; [
# gaming
dolphin-emu
yuzu-mainline
minecraft
# TODO factorio
steam # Common pitfall: https://github.com/NixOS/nixpkgs/issues/86506#issuecomment-623746883
# itch # TODO Disabled because 23.11 version of npm-fetch-deps include nix so can't change nix, unstable has broken dependency
];
sessionVariables = {
BOOT9_PATH = "${config.xdg.dataHome}/citra-emu/sysdata/boot9.bin";
};
};
};
}