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
commit b2537dc430
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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