From 0c8e5c43ee7c814b993231dc702a7f641ae3973e Mon Sep 17 00:00:00 2001 From: makefu Date: Sun, 4 Apr 2021 08:46:20 +0200 Subject: [PATCH] ma ham: fix philosopische tuer --- 2configs/bureautomation/automation/philosophische-tuer.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/2configs/bureautomation/automation/philosophische-tuer.nix b/2configs/bureautomation/automation/philosophische-tuer.nix index 8c3fed6..780ba17 100644 --- a/2configs/bureautomation/automation/philosophische-tuer.nix +++ b/2configs/bureautomation/automation/philosophische-tuer.nix @@ -18,7 +18,9 @@ let samples = user: lib.mapAttrsToList (file: _: ''"${prefix}/${user}/${file}"'') (builtins.readDir (toString ( recordrepo+ "/recordings/${user}"))); - random_tuerspruch = ''{{'' + (lib.concatStringsSep "," ((samples "Felix") ++ (samples "Sofia") ++ (samples "Markus"))) + ''| random}}''; # TODO read from derivation + random_tuerspruch = ''{{['' + (lib.concatStringsSep "," ( + (samples "Felix") ++ (samples "Sofia") ++ (samples "Markus") + )) + ''] | random}}''; # TODO read from derivation in { systemd.services.copy-philosophische-tuersounds = {