mirror of
https://github.com/kmein/niveum
synced 2026-03-18 19:11:08 +01:00
htgen: update
This commit is contained in:
@@ -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 = [
|
||||
|
||||
Reference in New Issue
Block a user