added openrct2 to gaming_pkgs.nix, altered some network configuration to make hosting servers easier. Kitty now changes theme in ssh.

This commit is contained in:
pagedmov
2024-11-03 01:48:20 -04:00
parent b427e8f373
commit 59d8273efa
5 changed files with 120 additions and 4 deletions

View File

@@ -1,10 +1,23 @@
{lib, config, pkgs, ...}: {
{lib, config, pkgs, ...}:
let
cust-openrct2 = pkgs.openrct2.overrideAttrs (oldAttrs: {
cmakeFlags = [
"-DDOWNLOAD_OBJECTS=ON"
"-DDOWNLOAD_OPENMSX=ON"
"-DDOWNLOAD_OPENSFX=ON"
"-DDOWNLOAD_TITLE_SEQUENCES=ON"
];
});
in
{
options = {
gamingPkgs.enable = lib.mkEnableOption "enables gaming packages";
};
config = lib.mkIf config.gamingPkgs.enable {
environment.systemPackages = with pkgs; [
snes9x-gtk
cust-openrct2
];
};
}