From 8a5fde591e02c2f02e639ab7a2a611fac4833beb Mon Sep 17 00:00:00 2001 From: Rouven Seifert Date: Mon, 29 May 2023 13:54:12 +0200 Subject: [PATCH] add trucksim docs --- flake.lock | 6 +++--- hosts/falkenstein-1/modules/trucksimulatorbot/default.nix | 5 ++++- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/flake.lock b/flake.lock index 66b12dc..e5a0e51 100644 --- a/flake.lock +++ b/flake.lock @@ -362,11 +362,11 @@ ] }, "locked": { - "lastModified": 1685359790, - "narHash": "sha256-qeOykz4m3XRgMUExo/PB97omCukd6hFfrvzc2QIYh6A=", + "lastModified": 1685361186, + "narHash": "sha256-IRU/7oSiX23zBPXBhPF2sqg+we61d5A3QSyFA8TPm4M=", "owner": "therealr5", "repo": "TruckSimulatorBot", - "rev": "b573449efcdbbabdcff3a1c488689e4b3158bbf8", + "rev": "396e8c8701862a21c49fd491ea8afb55c7cd6c36", "type": "github" }, "original": { diff --git a/hosts/falkenstein-1/modules/trucksimulatorbot/default.nix b/hosts/falkenstein-1/modules/trucksimulatorbot/default.nix index 328c46e..9233eb9 100644 --- a/hosts/falkenstein-1/modules/trucksimulatorbot/default.nix +++ b/hosts/falkenstein-1/modules/trucksimulatorbot/default.nix @@ -1,4 +1,4 @@ -{ config, pkgs, ... }: +{ config, pkgs, inputs, ... }: let domain = "trucksimulatorbot.rfive.de"; in @@ -39,6 +39,9 @@ in locations."/" = { proxyPass = "http://127.0.0.1:${toString config.services.trucksimulatorbot.listenPort}"; }; + locations."/docs" = { + root = "${inputs.trucksimulatorbot.packages.x86_64-linux.docs}"; + }; }; }; }