1
0
mirror of https://github.com/kmein/niveum synced 2026-03-18 19:11:08 +01:00

htgen: update

This commit is contained in:
2025-12-19 12:44:58 +01:00
parent 2f5ad473c6
commit 9ab93d0e82
3 changed files with 111 additions and 53 deletions

View File

@@ -17,7 +17,7 @@
in {
services.htgen.tarot = {
port = tarotPort;
script = ''. ${pkgs.writers.writeDash "tarot" ''
script = pkgs.writers.writeDash "tarot" ''
case "$Method $Request_URI" in
"GET /")
if item=$(${pkgs.findutils}/bin/find ${toString tarotFiles} -type f | ${pkgs.coreutils}/bin/shuf -n1); then
@@ -40,7 +40,7 @@ in {
fi
;;
esac
''}'';
'';
};
niveum.passport.services = [