diff --git a/modules/nixos/profiles/gaming.nix b/modules/nixos/profiles/gaming.nix index 8a86ec6b..a1c427c0 100644 --- a/modules/nixos/profiles/gaming.nix +++ b/modules/nixos/profiles/gaming.nix @@ -9,6 +9,7 @@ in enable = lib.mkEnableOption "foodogsquared's gaming setup"; emulators.enable = lib.mkEnableOption "installation of individual game emulators"; retro-computing.enable = lib.mkEnableOption "installation of retro computer systems"; + games.enable = lib.mkEnableOption "installation of certain FOSS games for funsies"; }; # Just don't ask where you can sail getting the games. :) @@ -44,6 +45,24 @@ in ]; }) + # Despite the module being for gaming setup, no individual games are + # installed. Also, all of the installed games are FOSS so far. At least, + # Stallman-senpai would be proud. + (lib.mkIf cfg.games.enable { + environment.systemPackages = with pkgs; [ + cataclysm-dda + dwarf-fortress + endless-sky + mindustry + minetest + openra + superTuxKart + the-powder-toy + wesnoth + zeroad + ]; + }) + # Old computer systems for old people. (lib.mkIf cfg.retro-computing.enable { environment.systemPackages = with pkgs; [