diff --git a/configs/0ad.nix b/configs/0ad.nix deleted file mode 100644 index 418c8bd..0000000 --- a/configs/0ad.nix +++ /dev/null @@ -1,8 +0,0 @@ -{ pkgs, ... }: -{ - environment.systemPackages = [ pkgs.zeroad ]; - networking.firewall = { - allowedTCPPorts = [ 20595 ]; - allowedUDPPorts = [ 20595 ]; - }; -} diff --git a/configs/gaming.nix b/configs/gaming.nix new file mode 100644 index 0000000..c04385f --- /dev/null +++ b/configs/gaming.nix @@ -0,0 +1,13 @@ +{ pkgs, ... }: +{ + environment.systemPackages = [ + pkgs.zeroad + pkgs.mari0 + pkgs.luanti # fka minetest + ]; + networking.firewall = { + # for 0ad multiplayer + allowedTCPPorts = [ 20595 ]; + allowedUDPPorts = [ 20595 ]; + }; +} diff --git a/systems/fatteh/configuration.nix b/systems/fatteh/configuration.nix index 9f8b9e7..802083d 100644 --- a/systems/fatteh/configuration.nix +++ b/systems/fatteh/configuration.nix @@ -9,7 +9,7 @@ in { ./hardware-configuration.nix ../../configs/networkmanager.nix ../../configs/default.nix - ../../configs/0ad.nix + ../../configs/gaming.nix # ../../configs/gnome.nix ];