Merge pull request #177561 from max-privatevoid/ipfs-dont-leak-config

nixos/ipfs: do not leak config to journal on startup
This commit is contained in:
Kevin Cox
2022-06-17 19:37:33 -04:00
committed by GitHub
@@ -257,7 +257,7 @@ in
'' + optionalString cfg.autoMigrate ''
${pkgs.ipfs-migrator}/bin/fs-repo-migrations -to '${cfg.package.repoVersion}' -y
'' + ''
ipfs --offline config profile apply ${profile}
ipfs --offline config profile apply ${profile} >/dev/null
fi
'' + optionalString cfg.autoMount ''
ipfs --offline config Mounts.FuseAllowOther --json true