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 "" ''
[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;