From 9ff500bb37a53e3e1c2ddfa3499f4cdddfa5cf25 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kier=C3=A1n=20Meinhardt?= Date: Sun, 14 Dec 2025 18:19:33 +0100 Subject: [PATCH] gaming: init more --- configs/0ad.nix | 8 -------- configs/gaming.nix | 13 +++++++++++++ systems/fatteh/configuration.nix | 2 +- 3 files changed, 14 insertions(+), 9 deletions(-) delete mode 100644 configs/0ad.nix create mode 100644 configs/gaming.nix 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 ];