Separate option for gaming

This commit is contained in:
Geoffrey Frogeye 2023-12-02 21:50:59 +01:00
parent c9156044f8
commit a137506a13
Signed by: geoffrey
GPG key ID: C72403E7F82E6AD8
9 changed files with 29 additions and 9 deletions

15
hm/gaming/default.nix Normal file
View file

@ -0,0 +1,15 @@
{ 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
yuzu-mainline
minecraft
# TODO factorio
steam # Common pitfall: https://github.com/NixOS/nixpkgs/issues/86506#issuecomment-623746883
];
};
}