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:
@@ -10,11 +10,11 @@
|
||||
hosts = {
|
||||
"192.168.1.200" = ["xenon"];
|
||||
"192.168.1.201" = ["oganesson"];
|
||||
"192.168.1.223" = ["mercury"];
|
||||
"192.168.1.202" = ["mercury"];
|
||||
};
|
||||
firewall = {
|
||||
enable = true;
|
||||
allowedTCPPorts = [ 443 ];
|
||||
allowedTCPPorts = [ 443 8080 ];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
@@ -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
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user