global(fs): fix permission fix

This commit is contained in:
514fpv 2024-02-10 01:03:36 +08:00
parent 1be01bb5d3
commit 810c704afb
Signed by: koishi
SSH key fingerprint: SHA256:652+A2yCgByK6j4+urGiApE+tZbISyelwTnr76Tm+x8

View file

@ -13,7 +13,7 @@ in mkIf cfg.enable {
"--compress=lz4" "--compress=lz4"
"--mbuffer-size=128M" "--mbuffer-size=128M"
]; ];
localSourceAllow = options.services.syncoid.localSourceAllow.default ++ [ "mount" ]; localSourceAllow = mkOptionDefault [ "mount" ];
commands = (lists.foldr (name: commands: commands // { commands = (lists.foldr (name: commands: commands // {
"${config.global.fs.store}/${name}" = { "${config.global.fs.store}/${name}" = {