From 8dd402588550c17e3adbdc7d57d9bde83b01702d Mon Sep 17 00:00:00 2001 From: Filippo Berto Date: Sat, 10 May 2025 15:43:52 +0200 Subject: [PATCH] Fix minio mount --- modules/hm/rclone-mount.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/hm/rclone-mount.nix b/modules/hm/rclone-mount.nix index 2840ac3..b34fe79 100644 --- a/modules/hm/rclone-mount.nix +++ b/modules/hm/rclone-mount.nix @@ -30,6 +30,7 @@ let cfg = config.rclone-mount; in { Install.WantedBy = [ "default.target" ]; Service = { Type = "simple"; + Environment = [ "PATH=${ lib.makeBinPath [ pkgs.rclone pkgs.coreutils pkgs.fuse ]}:/run/wrappers/bin/:$PATH" ]; ExecStartPre = "${pkgs.coreutils}/bin/mkdir -p ${path}"; ExecStart = "${pkgs.rclone}/bin/rclone --config '${cfg.configPath}' mount ${name}:/ ${path} -vv --vfs-cache-mode=writes --s3-upload-concurrency 32 --s3-chunk-size 128000"; Restart = "on-failure";