Skip to content

Latest commit

 

History

History
46 lines (42 loc) · 1.51 KB

README.md

File metadata and controls

46 lines (42 loc) · 1.51 KB

A minimal (cli) Game launcher for linux written in rust

Rust

Install

cargo install --path . or use AUR (Thankyou proledatarian. very cool)

for nixos

Without flakes

cargo install --features nixos --path . to compile and install manually

With flakes

You can do nix run to run it or you can add it as a package in your configuration

#flake.nix
{
  inputs = {
    game-rs.url = "github:amanse/game-rs";
  };
}

and then you can add it in your packages with

{
  environment.systemPackages = with pkgs; [
    game-rs.packages.x86_64-linux.default
  ];
}

You can also use Cachix to get binary cache
To add cachix:

{
  nix.settings = {
    substituters = ["https://game-rs.cachix.org"];
    trusted-public-keys = ["game-rs.cachix.org-1:fsu+ijfA2GCUE2QX0af80D7x9PCZS79EZbqwtOtlIhA="];
  };
}

cachix works with both adding as a package and just doing nix build or nix run

Usage

game-rs config to go into interactive config mode where you can add, edit or delete the games in config
game-rs run to get a fuzzy select menu of all the games in config, selecting it runs the game
game-rs run <id> to directly run the game with specified id
game-rs download --help to see what you can download manually, but you will probably not need this