Skip to content

PierreBorine/vintagestory-nix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

130 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

█░█ ▀█▀ █▄░█ ▀█▀ ▄▀█ █▀▀ █▀▀ █▀ ▀█▀ █▀█ █▀█ ▀▄▀ ▄▄ █▄░█ ▀█▀ ▀▄▀
▀▄▀ ▄█▄ █░▀█ ░█░ █▀█ █▄█ ██▄ ▄█ ░█░ █▄█ █▀▄ ░█░ ░░ █░▀█ ▄█▄ ▄▀▄


A flake to help you on your Vintage Story journey on NixOS.

Documentation
📦Packages 🔧Tools

Features

📦 All game versions, down to 1.18.8

Get the full list using the following command:

nix flake show github:PierreBorine/vintagestory-nix

🧪 Release Candidates and Pre Releases

🔧 Modding tools with Home Manager modules

Usage

Add this flake as an input to yours

# flake.nix
inputs = {
  vintagestory-nix = {
    url = "github:PierreBorine/vintagestory-nix";
    inputs.nixpkgs.follows = "nixpkgs";
  };
};

Add the overlay

# configuration.nix
{inputs, ...}: {
  nixpkgs.overlays = [inputs.vintagestory-nix.overlays.default];
}

Vintage Story packages

See the relevant README for more complete docs.

{pkgs, ...}: {
  home.packages = [
    pkgs.vintagestoryPackages.v1-20-12
    pkgs.vintagestoryPackages.v1-21-1-rc-2
    pkgs.vintagestoryPackages.v1-19  # ignores RCs
    pkgs.vintagestoryPackages.latest # ignores RCs
  ];
}

Modding Tools

See the relevant README for more complete docs.

{inputs, pkgs, ...}: {
  imports = [inputs.vintagestory-nix.homeModules.default];

  home.packages = [
    pkgs.vintagestoryPackages.rustique
    pkgs.vintagestoryPackages.vs-launcher
  ];

  # Recommended !!
  # As the builtin game downloader
  # won't work on NixOS.
  programs.vs-launcher = {
    enable = true;
    settings.gameVersions = [
      pkgs.vintagestoryPackages.v1-21-1
    ];
  };
}

Server

See the module file for more infos

# configuration.nix
{inputs, pkgs, ...}: {
  imports = [inputs.vintagestory-nix.nixosModules.default];

  services.vintagestory = {
    enable = true;
    package = pkgs.vintagestoryPackages.v1-21-0;
    openFirewall = true;
  };
}

Installing mods with Nix

This flake does not provide a way to declaratively install mods with Nix. Fortunately for you, vs2nix is another Vintage Story flake that packages the top 400 mods of modDB.

Thanks

About

A flake to help you on your Vintage Story journey on NixOS

Topics

Resources

License

Stars

Watchers

Forks

Contributors

Languages