Files
nix-files/hosts/common/programs/curlftpfs.nix
Colin 758b58cc5e home/fs: make hung /mnt/servo/* less impactful (and also more debuggable)
logs now show in /var/log/curlftpfs, when enabled

previously unaccessed mounts still time out on first access without net, only it takes 120s instead of the more typical 20s

since each mount expires independently, it can still take 15 minutes after 'ls /mnt/servo/media' for that directory to become usable (but at least it *does*)
2024-10-12 03:00:01 +00:00

11 lines
248 B
Nix

{ pkgs, ... }:
{
sane.programs.curlftpfs = {
packageUnwrapped = pkgs.curlftpfs-sane;
sandbox.net = "all";
sandbox.autodetectCliPaths = "existing";
sandbox.keepPids = true;
sandbox.extraPaths = [ "/var/log/curlftpfs" ];
};
}