From f4ac044742e74efe328e314f78b2265be87765d3 Mon Sep 17 00:00:00 2001 From: Yan Lin Date: Sat, 22 Nov 2025 12:39:29 +0100 Subject: [PATCH] minor --- modules/dufs.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/dufs.nix b/modules/dufs.nix index ff9a82c..d246284 100644 --- a/modules/dufs.nix +++ b/modules/dufs.nix @@ -36,7 +36,7 @@ in serviceConfig = { Type = "simple"; User = "root"; # Run as root to access any system path - ExecStart = ''/bin/sh -c "${pkgs.dufs}/bin/dufs ${cfg.sharedPath} --port ${toString cfg.port} --bind 0.0.0.0 --auth $(cat ${authFile})@/:rw"''; + ExecStart = ''/bin/sh -c "${pkgs.dufs}/bin/dufs ${cfg.sharedPath} --port ${toString cfg.port} --bind 0.0.0.0 --allow-all --auth $(cat ${authFile})@/:rw"''; Restart = "on-failure"; RestartSec = "10s"; };