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

nixos/ipfs: do not leak config to journal on startup
main
Kevin Cox 2 years ago committed by GitHub
commit b2537dc430
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      nixos/modules/services/network-filesystems/ipfs.nix

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

Loading…
Cancel
Save