From f25f05f731baa97841956d46a3bccdeb7059f8d8 Mon Sep 17 00:00:00 2001 From: Daniel Patterson Date: Sun, 6 Oct 2024 11:13:58 +0100 Subject: [PATCH] Fix dung --- modules/dungflix/default.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/modules/dungflix/default.nix b/modules/dungflix/default.nix index f9887bd..a143dfb 100644 --- a/modules/dungflix/default.nix +++ b/modules/dungflix/default.nix @@ -8,6 +8,8 @@ rclone_config = pkgs.writeText "" '' [danflix-storage-box] type = sftp + sftp_md5sum_command = md5sum + sftp_sha1sum_command = sha1sum [danflix-crypto] type = crypt @@ -59,6 +61,8 @@ in { --allow-other \ --no-modtime \ --rc \ + --sftp-concurrency 8 \ + --checkers 4 \ --rc-addr=localhost:5572 \ --rc-no-auth \ -v @@ -69,7 +73,7 @@ in { ''; postStop = '' sleep 3 - fusermount -u ${mountdir} + ${pkgs.fuse3}/bin/fusermount -u ${mountdir} ''; serviceConfig = { EnvironmentFile = config.age.secrets.danflix_env_file.path;