From e18b0800ca1fb6442a6eb3d2a0e5cb4bc7555112 Mon Sep 17 00:00:00 2001 From: makefu Date: Sun, 4 Apr 2021 08:46:20 +0200 Subject: ma ham: fix philosopische tuer --- makefu/2configs/bureautomation/automation/philosophische-tuer.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'makefu') 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 = { -- cgit v1.2.3