Loading nixos/modules/services/network-filesystems/ipfs.nix +4 −4 Original line number Diff line number Diff line Loading @@ -231,9 +231,9 @@ in { } fi '' + optionalString cfg.autoMount '' ipfs --local config Mounts.FuseAllowOther --json true ipfs --local config Mounts.IPFS ${cfg.ipfsMountDir} ipfs --local config Mounts.IPNS ${cfg.ipnsMountDir} ipfs --offline config Mounts.FuseAllowOther --json true ipfs --offline config Mounts.IPFS ${cfg.ipfsMountDir} ipfs --offline config Mounts.IPNS ${cfg.ipnsMountDir} '' + concatStringsSep "\n" (collect isString (mapAttrsRecursive Loading @@ -243,7 +243,7 @@ in { read value <<EOF ${builtins.toJSON value} EOF ipfs --local config --json "${concatStringsSep "." path}" "$value" ipfs --offline config --json "${concatStringsSep "." path}" "$value" '') ({ Addresses.API = cfg.apiAddress; Addresses.Gateway = cfg.gatewayAddress; Loading Loading
nixos/modules/services/network-filesystems/ipfs.nix +4 −4 Original line number Diff line number Diff line Loading @@ -231,9 +231,9 @@ in { } fi '' + optionalString cfg.autoMount '' ipfs --local config Mounts.FuseAllowOther --json true ipfs --local config Mounts.IPFS ${cfg.ipfsMountDir} ipfs --local config Mounts.IPNS ${cfg.ipnsMountDir} ipfs --offline config Mounts.FuseAllowOther --json true ipfs --offline config Mounts.IPFS ${cfg.ipfsMountDir} ipfs --offline config Mounts.IPNS ${cfg.ipnsMountDir} '' + concatStringsSep "\n" (collect isString (mapAttrsRecursive Loading @@ -243,7 +243,7 @@ in { read value <<EOF ${builtins.toJSON value} EOF ipfs --local config --json "${concatStringsSep "." path}" "$value" ipfs --offline config --json "${concatStringsSep "." path}" "$value" '') ({ Addresses.API = cfg.apiAddress; Addresses.Gateway = cfg.gatewayAddress; Loading