diff options
author | makefu <github@syntax-fehler.de> | 2021-04-04 08:46:20 +0200 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2021-04-04 08:46:20 +0200 |
commit | e18b0800ca1fb6442a6eb3d2a0e5cb4bc7555112 (patch) | |
tree | 426a1f4fd831108ac4314808bdffd6b9a7ecff3c | |
parent | 7de97e20aac282aad8dcd18466e1ca9268549e2d (diff) |
ma ham: fix philosopische tuer
-rw-r--r-- | makefu/2configs/bureautomation/automation/philosophische-tuer.nix | 4 |
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 = { |