summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/bureautomation/automation/philosophische-tuer.nix
diff options
context:
space:
mode:
Diffstat (limited to 'makefu/2configs/bureautomation/automation/philosophische-tuer.nix')
-rw-r--r--makefu/2configs/bureautomation/automation/philosophische-tuer.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/makefu/2configs/bureautomation/automation/philosophische-tuer.nix b/makefu/2configs/bureautomation/automation/philosophische-tuer.nix
index 8c3fed6de..780ba1765 100644
--- a/makefu/2configs/bureautomation/automation/philosophische-tuer.nix
+++ b/makefu/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 = {