mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2025-04-05 14:26:19 +02:00
add trucksim docs
This commit is contained in:
parent
1c023fa7af
commit
8a5fde591e
2 changed files with 7 additions and 4 deletions
6
flake.lock
generated
6
flake.lock
generated
|
@ -362,11 +362,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1685359790,
|
"lastModified": 1685361186,
|
||||||
"narHash": "sha256-qeOykz4m3XRgMUExo/PB97omCukd6hFfrvzc2QIYh6A=",
|
"narHash": "sha256-IRU/7oSiX23zBPXBhPF2sqg+we61d5A3QSyFA8TPm4M=",
|
||||||
"owner": "therealr5",
|
"owner": "therealr5",
|
||||||
"repo": "TruckSimulatorBot",
|
"repo": "TruckSimulatorBot",
|
||||||
"rev": "b573449efcdbbabdcff3a1c488689e4b3158bbf8",
|
"rev": "396e8c8701862a21c49fd491ea8afb55c7cd6c36",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ config, pkgs, ... }:
|
{ config, pkgs, inputs, ... }:
|
||||||
let
|
let
|
||||||
domain = "trucksimulatorbot.rfive.de";
|
domain = "trucksimulatorbot.rfive.de";
|
||||||
in
|
in
|
||||||
|
@ -39,6 +39,9 @@ in
|
||||||
locations."/" = {
|
locations."/" = {
|
||||||
proxyPass = "http://127.0.0.1:${toString config.services.trucksimulatorbot.listenPort}";
|
proxyPass = "http://127.0.0.1:${toString config.services.trucksimulatorbot.listenPort}";
|
||||||
};
|
};
|
||||||
|
locations."/docs" = {
|
||||||
|
root = "${inputs.trucksimulatorbot.packages.x86_64-linux.docs}";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue