mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 15:11:35 +00:00
Merge pull request #136128 from max-privatevoid/patch-3
nixos/ipfs: run profile applications offline
This commit is contained in:
commit
8c52265df5
|
@ -226,8 +226,8 @@ in {
|
|||
${optionalString (! cfg.localDiscovery) "--profile=server"}
|
||||
else
|
||||
${if cfg.localDiscovery
|
||||
then "ipfs config profile apply local-discovery"
|
||||
else "ipfs config profile apply server"
|
||||
then "ipfs --offline config profile apply local-discovery"
|
||||
else "ipfs --offline config profile apply server"
|
||||
}
|
||||
fi
|
||||
'' + optionalString cfg.autoMount ''
|
||||
|
|
Loading…
Reference in a new issue