diff --git a/Ttrss/default.nix b/Ttrss/default.nix index 34fd5d0..559f259 100644 --- a/Ttrss/default.nix +++ b/Ttrss/default.nix @@ -2,87 +2,85 @@ , pkgs , lib }: +{ documentRoot +, user ? "http" +, group ? "http" +}: { TtrssPostgresDB }: let - asTtrssConfig = attrs: builtins.concatStringsSep "\n" ([" $out/.dysnomia-targetdir - # echo "http:http" > $out/.dysnomia-filesetowner + echo "${documentRoot}" > $out/.dysnomia-targetdir + echo "${user}:${group}" > $out/.dysnomia-filesetowner cat > $out/.dysnomia-fileset <