dotfiles/hm/gaming/default.nix

22 lines
586 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
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-01-12 18:08:11 +01:00
itch
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
};
}