ma ham: fix philosopische tuer

This commit is contained in:
makefu 2021-04-04 08:46:20 +02:00
parent 62b8ce3dbf
commit 0c8e5c43ee

View file

@ -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 = {