kaas
Some checks failed
Test action / kaas (push) Failing after 1s

This commit is contained in:
Chris Kruining 2026-03-22 16:41:08 +01:00
parent 8d46d0d60b
commit a4671a524f
Signed by: chris
SSH key fingerprint: SHA256:nG82MUfuVdRVyCKKWqhY+pCrbz9nbX6uzUns4RKa1Pg
5 changed files with 37 additions and 5 deletions

View file

@ -0,0 +1,27 @@
{ config, lib, pkgs, namespace, ... }:
let
inherit (lib) mkIf mkEnableOption;
cfg = config.${namespace}.services.games.openrct;
in
{
options.${namespace}.services.games.openrct = {
enable = mkEnableOption "OpenRCT2";
};
config = mkIf cfg.enable {
environment.systemPackages = with pkgs; [
openrct2
];
systemd.services.openrct = {
enable = true;
after = [ "network.target"];
description = "OpenRCT2 Server";
serviceConfig = {
Type = "";
ExecStart = lib.getExe pkgs.openrct2;
};
};
};
}