This commit is contained in:
2024-10-06 11:13:58 +01:00
parent ed4f6edda8
commit f25f05f731

View File

@@ -8,6 +8,8 @@
rclone_config = pkgs.writeText "" '' rclone_config = pkgs.writeText "" ''
[danflix-storage-box] [danflix-storage-box]
type = sftp type = sftp
sftp_md5sum_command = md5sum
sftp_sha1sum_command = sha1sum
[danflix-crypto] [danflix-crypto]
type = crypt type = crypt
@@ -59,6 +61,8 @@ in {
--allow-other \ --allow-other \
--no-modtime \ --no-modtime \
--rc \ --rc \
--sftp-concurrency 8 \
--checkers 4 \
--rc-addr=localhost:5572 \ --rc-addr=localhost:5572 \
--rc-no-auth \ --rc-no-auth \
-v -v
@@ -69,7 +73,7 @@ in {
''; '';
postStop = '' postStop = ''
sleep 3 sleep 3
fusermount -u ${mountdir} ${pkgs.fuse3}/bin/fusermount -u ${mountdir}
''; '';
serviceConfig = { serviceConfig = {
EnvironmentFile = config.age.secrets.danflix_env_file.path; EnvironmentFile = config.age.secrets.danflix_env_file.path;