From 0f32deed8a5f4c8ccafe7751bbee0212ae35cddd Mon Sep 17 00:00:00 2001 From: Daniel Langbein Date: Sun, 4 Feb 2024 16:39:23 +0100 Subject: [PATCH] add openspades, widelands --- modules/games.nix | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/modules/games.nix b/modules/games.nix index 78bfe4b..f97e048 100644 --- a/modules/games.nix +++ b/modules/games.nix @@ -1,4 +1,4 @@ -{ config, pkgs, ... }: +{ config, pkgs, lib, ... }: { # NixOS general: # https://github.com/NixOS/nixpkgs/tree/nixos-23.11/pkgs/games/ @@ -20,6 +20,14 @@ # https://unknown-horizons.org/ (A 2D realtime strategy simulation with an emphasis on economy and city building.) # https://github.com/mgerdes/Open-Golf + nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [ + "SpaceCadetPinball" + "osu-lazer-bin-2023.1114.1" + "warsow" + "assaultcube" + "ut2004-demo" + ]; + users.users.yoda = { packages = with pkgs; [ # @@ -71,6 +79,7 @@ assaultcube # Fast and fun first-person-shooter based on the Cube FPS xonotic # The Fast Arena Shooter ut2004demo # Demo of Unreal Tournament 2004 + openspades # Voxel shooter. Compatible with Ace of Spades 0.75 # # Third Person / 2D Shooter # @@ -93,16 +102,18 @@ hedgewars # Turn-based strategy artillery game similar to Worms hase # Hase is a gravity based artillery shooter. It is similar to Worms, Hedgewars or artillery, but the gravity force and direction depends on the mass nearby. It is optimized for mobile game consoles like the GP2X, Open Pandora or GCW Zero, so it doesn't make use of the mouse even on the PC. lincity_ng # A little bit more than SimCity 2000. Does not start, see https://github.com/NixOS/nixpkgs/issues/282687 - #openttd # Open source clone of the Microprose game "Transport Tycoon Deluxe" + #openttd # Clone of the Microprose game "Transport Tycoon Deluxe" + widelands # A real-time build-up strategy game # # Racing / Flight # torcs # The Open Racing Car Simulator (TORCS). Car racing game - #speed_dreams # Car racing game - TORCS fork with more experimental approach. Does not compile (error: boost::bad_format_string: format-string is ill-formed). Unrelated pull request: https://github.com/NixOS/nixpkgs/pull/270194 + #speed_dreams # Car racing game - TORCS fork with more experimental approach. Does not compile (error: boost::bad_format_string: format-string is ill-formed). Unrelated pull request: https://github.com/NixOS/nixpkgs/pull/270194. Is available on flathub: https://flathub.org/apps/org.speed_dreams.SpeedDreams #vdrift-bin # VDrift. Car racing game. Does not start (missing game data?): https://github.com/NixOS/nixpkgs/issues/282647 vdrift # VDrift stuntrally # Stunt Rally. Game with Track Editor. Based on VDrift and OGRE. https://stuntrally.tuxfamily.org/ + # Trigger Rally. Fast-paced single-player rally racing game. Flathub: https://flathub.org/apps/io.sourceforge.trigger_rally.TriggerRally flightgear # Flight simulator # # Arcade racing @@ -117,7 +128,10 @@ # #fallout1-ce #fallout2-ce # A fully working re-implementation of Fallout 2, with the same original gameplay, engine bugfixes, and some quality of life improvements - #openrw # Unofficial open source recreation of the classic Grand Theft Auto III game executable + #openrw # Unofficial recreation of the classic Grand Theft Auto III game executable. Flatpak: https://flathub.org/apps/org.openmw.OpenMW + # SeriousSamClassic-VK (runs on Vulkan or SDL2), flatpak: https://flathub.org/apps/io.itch.tx00100xt.SeriousSamClassic-VK + # Albion Online. On April 10, 2019, Albion Online went Free to Play. Players can buy premium with in-game currency (gold & silver). Flatpak: https://flathub.org/apps/com.albiononline.AlbionOnline + # Vintage Story. To play this game, you must purchase an account at https://www.vintagestory.at/. Flathub: https://flathub.org/apps/at.vintagestory.VintageStory ]; }; }